Learn R Programming

RandomFields (version 3.0.10)

RMangle: Anisotropy matrix given by angle

Description

A = diag(d_1, d_2) %*% matrix(ncol=2, c(cos(a), sin(a), -sin(a), cos(a)))

Usage

RMangle(angle, ratio, diag)

Arguments

angle
angle a
ratio
equivalent to diag=c(1, 1/ratio)
diag
the diagonal components of the matrix

Value

See Also

RMtrafo

Examples

Run this code
RFoptions(seed=0)

x <- seq(0, 2, 0.05)
model <- RMexp(Aniso=RMangle(angle=pi/4, ratio=3))
z <- RFsimulate(x, x, grid=TRUE, model=model)
plot(z)


RFoptions(seed=NA)

Run the code above in your browser using DataLab