loglikeSTnames {SpatioTemporal} | R Documentation |
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.
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
##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)