Learn R Programming

RandomFields (version 3.1.16)

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

RRgauss returns an object of class RMmodel

Details

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

See Also

RMmodel, RRdistr, RRunif.

Do not mix up RRgauss with RMgauss or RPgauss.

Examples

Run this code
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again
r <- RFrdistr(RRgauss(mu=c(1,5)), n=1000, dim=2)
plot(r[1,], r[2, ])

Run the code above in your browser using DataLab