Learn R Programming

RandomFields (version 3.0.10)

RRgauss: Random scaling used with balls

Description

RRgauss defines the d-dimensional vector of independent Gaussian random variables.

Usage

RRgauss(mu, sd, log)

Arguments

mu, sd, log
see Normal. Here the components can be vectors, leading to multivariate distibution with independent components

Value

Details

It has the same effect as RRdistr(norm(mu=mu, sd=sd, log=log))

See Also

RMmodel, RRdistr, RRunif,

Examples

Run this code
RFoptions(seed=0)
r <- RFrdistr(RRgauss(mu=c(1,5)), n=1000, dim=2)
plot(r[1,], r[2, ])
RFoptions(seed=NA)

Run the code above in your browser using DataLab