Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RRunif

Uniform Distribution in Higher Dimensions


Description

The model refers to the d-dimensional uniform distribution on a rectangular window.

Usage

RRunif(min, max, normed)

Arguments

min,max

lower and upper corner of a rectangular window

normed

logical with default value TRUE.

Advanced. If FALSE then the indicator function for the window is not normed to get a probability distribution. Nonetheless, random drawing from the distribution still works.

Details

In the one-dimensional case it has the same effect as RRdistr(unif(min=min, max=max, log=log)).

Value

RRunif returns an object of class RMmodel.

Author(s)

See Also

Examples

RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again
## uniform distribution on [0,2] x [-2, -1]
RFrdistr(RRunif(c(0, -2), c(2, -1)), n=5, dim=2)
RFpdistr(RRunif(c(0, -2), c(2, -1)), q=c(1, -1.5), dim=2)
RFddistr(RRunif(c(0, -2), c(2, -1)), x=c(1, -1.5), dim=2)

RandomFields

Simulation and Analysis of Random Fields

v3.3.10
GPL (>= 3)
Authors
Martin Schlather [aut, cre], Alexander Malinowski [aut], Marco Oesting [aut], Daphne Boecker [aut], Kirstin Strokorb [aut], Sebastian Engelke [aut], Johannes Martini [aut], Felix Ballani [aut], Olga Moreva [aut], Jonas Auel[ctr], Peter Menck [ctr], Sebastian Gross [ctr], Ulrike Ober [ctb], Paulo Ribeiro [ctb], Brian D. Ripley [ctb], Richard Singleton [ctb], Ben Pfaff [ctb], R Core Team [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.