loglike.dim: Dimensions of the Model Data Structure
Description
Function that computes the dimension of several objects in the
mesa.data.model data structure.
Usage
loglike.dim(mesa.data.model)
Arguments
mesa.data.model
Data structure holding observations, and information regarding which
geographic and spatio-temporal covariates to use when fitting
the model. See
create.data.model and
Value
Returns a list with the following components:
TNumber of distinct time points in the data
mNumber of temporal basis functions including the intercept.
nNumber of distinct locations in the data
pA vector with m elements, containg the number of
geographic covariates
(LUR:s) for each of the temporal basis
functions.
LNumber of spatio-temporal covariates
nparamTotal number of parameters, including covariance and
regression parameters, (L+sum(p)+2*m+3)