sk_pars {snapKrig} | R Documentation |
Initialize Kronecker covariance function parameters for a sk grid
Description
Returns a parameter list defining the Kronecker covariance model for g
, with
default initial values assigned to parameters based on the grid dimensions and sample
variance of observed data.
Usage
sk_pars(g, pars = "gau", fill = "initial")
Arguments
g |
list, a sk grid list (or any other object accepted by |
pars |
character or list defining kernels accepted by |
fill |
character, either 'initial', 'lower' or 'upper' |
Details
Swap fill='initial'
with 'lower' and 'upper' to get default lower and upper bounds.
Value
a list defining the Kronecker covariance parameters
See Also
sk sk_corr
Other parameter managers:
sk_bds()
,
sk_fit()
,
sk_kp()
,
sk_pars_make()
,
sk_pars_update()
,
sk_to_string()
Examples
sk_pars(g=10)
sk_pars(c(10,15))
sk_pars(c(10,15), 'mat')
sk_pars(c(10,15), 'mat', 'upper')
[Package snapKrig version 0.0.2 Index]