Hi:

Do you mean multinomial or multivariate normal? If the latter, then in
addition to the previous response, there is package mvtnorm and a function
mvrnorm() in the MASS package to generate correlated multivariate normal
samples.

HTH,
Dennis

On Sat, Sep 11, 2010 at 12:52 PM, thedreamshaper
<thedreamshaper@gmail.com>wrote:

>
> I have had plenty of succes generating one dimensional variables and
> plotting
> them, but what do i do for more (specifically 2) dimensional multinomial
> variables?
>
> I figure i have to create a vector consisting of two 1 dim normallly
> distributed variables, that way i can also control the correlation.
>
> But how do i do this :) ?
>
> Many thanks
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Generating-multinomial-distribution-and-plotting-tp2535895p2535895.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

