sk_kp {snapKrig} | R Documentation |
Return named vector of Kronecker covariance parameters initialized to NA
Description
Convenience function for looking up the number of parameters for a given
Kronecker covariance model, and their names. Returns a vector of NA
s that
can be used as a placeholder in kernel definition lists.
Usage
sk_kp(k)
Arguments
k |
character, the kernel name, one of 'exp', 'gau', 'sph', 'gxp', 'mat' |
Value
named vector of NAs, a placeholder for kernel parameters
See Also
Other parameter managers:
sk_bds()
,
sk_fit()
,
sk_pars_make()
,
sk_pars_update()
,
sk_pars()
,
sk_to_string()
Examples
# there are only two possible return values
sk_kp('gau')
sk_kp('mat')
[Package snapKrig version 0.0.2 Index]