cor.to.par | R Documentation |
This function finds the correlation parameter given effective range
cor.to.par(
d,
param,
family = "CH",
cor.target = 0.05,
lower = NULL,
upper = NULL,
tol = .Machine$double.eps
)
d |
a numerical value containing the effective range |
param |
a list containing correlation parameters. The specification of
param should depend on the covariance model. If the parameter value is
|
family |
a string indicating the type of covariance structure. The following correlation functions are implemented:
|
cor.target |
a numerical value. The default value is 0.05, which means that correlation parameters are searched such that the correlation is approximately 0.05. |
lower |
a numerical value. This sets the lower bound to find the
correlation parameter via the |
upper |
a numerical value. This sets the upper bound to find the
correlation parameter via the |
tol |
a numerical value. This sets the precision of the solution with default value
specified as the machine precision |
a numerical value of correlation parameters
Pulong Ma mpulong@gmail.com
GPBayes-package, GaSP
, kernel
, ikernel
range = cor.to.par(1,param=list(tail=0.5,nu=2.5), family="CH")
tail = cor.to.par(1,param=list(range=0.5,nu=2.5), family="CH")
range = cor.to.par(1,param=list(nu=2.5),family="matern")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.