Learn R Programming

RandomFields (version 3.0.5)

RMmppplus: Mixture of shape functions

Description

RMplus is a multivariate covariance model which depends on up to 10 submodels $C_0, C_1, ..., C_10$.

It is used to gether with RPsmith it allowed for mixed moving maxima with a finite number of shape functions.

Usage

RMmppplus(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, p)

Arguments

C0
C1,C2,C3,C4,C5,C6,C7,C8,C9
optional; each an RMmodel.
p
vector of probabilities for the shape functions. The probabilities should add up to 1. The length of the vector equals the number of given submodels

Value

See Also

RMplus, RMmodel, RFsimulate, RFfit.

Examples

Run this code
set.seed(0)
\dontrun{
model <- RPcoins(RMmppplus(p=c(0.8, 0.2), RMgauss(), RMexp()), intensity=1)
x <- seq(0, 10, if (interactive()) 0.02 else 1) 
plot(RFsimulate(model, x=x))
}

Run the code above in your browser using DataLab