Learn R Programming

RandomFields (version 3.0.10)

RRunif: Random scaling used with balls

Description

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

Usage

RRunif(min, max)

Arguments

min,max
lower and upper corner of a rectangular window

Value

See Also

RMmodel, RRdistr, RRgauss, RRspherical,

Examples

Run this code
RFoptions(seed=0)
## uniform distribution on [0,1] 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)
RFoptions(seed=NA)

Run the code above in your browser using DataLab