Description Usage Arguments Value Examples
Create a Process via Karhunen-Loeve Representation
1 2 3 4 5 6 7 | kl.process(
domain = c(0, 1),
eigen.values = 1/(2^(1:25)),
eigen.functions = c("FOURIER", "COS", "SIN", "LEGENDRE"),
distribution = c("GAUSSIAN", "LAPLACE", "EXPONENTIAL", "GAMMA"),
corr = NULL
)
|
domain |
domain of the process. |
eigen.values |
vector of eigenvalues in the K-L expansion. |
eigen.functions |
string that specifies the eigenfunctions in the K-L expansion. |
distribution |
string specifying the distribution of FPC scores. |
corr |
correlation matrix optionally specifying correlation among the random coefficients; default: NULL. |
a function hanlde in the form of X(tObs,n)
which generates n
independent trajectories observed at tObs
.
1 2 | X <- kl.process()
X(regular.grid(50),25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.