The runif function generates random numbers from a uniform distribution, wrap 
those values into a matrix and you have a multi dimensional uniform 
distribution.

If you want more than this, give us more detail.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Haneef Anver
> Sent: Wednesday, February 10, 2010 1:29 PM
> To: r-help@r-project.org
> Subject: [R] Sampling from Bivariate Uniform Distribution
> 
> Hello all!!!
> 
> 
> 1) I am wondering is there a way to generate random numbers in R for
> Bivariate Uniform distribution?
> 
> 
> 2) Does R haveĀ  built-in function for generating random numbers for any
> given bivariate distribution.
> 
> Any help would be greatly appreciated !!
> 
> 
> Good day!
> 
> 
> Haneef Anver
> 
> 
> 
> 
> 
> 
>       [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to