Description Usage Arguments Value Author(s) See Also Examples
Function that creates a character vector with names for the parameters
expected by log-likelihood functions. Names are created by extracting names
from the STmodel
structure.
1 | loglikeSTnames(STmodel, all = TRUE)
|
STmodel |
|
all |
compute all parameter names (regression and covariance) or only covariance parameters. |
Returns names of the parameters expected by the log-likelihood functions. Regerssion parameter names start with gamma/alpha (spatio-temporal/geographic covariate), followed by name of beta-field, and the name of covariate. The covariance parameters follow, log (reminder that parameter is log-scale), covariance parameter name, name of field, type of covariance function.
Johan Lindstrom
Other likelihood utility functions: calc.mu.B
,
loglikeSTdim
,
loglikeSTgetPars
1 2 3 4 5 6 7 | ##load the data
data(mesa.model)
##Find out in which order parameters should be given
loglikeSTnames(mesa.model)
##...and for only the covariance parameters.
loglikeSTnames(mesa.model, FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.