check_inits_pg_stlm | R Documentation |
this function check that the initial values for pg_stlm()
are properly specified
check_inits_pg_stlm( Y, X, locs, inits, corr_fun = "exponential", shared_covariance_params = TRUE )
Y |
is a n x d matrix of multinomial count data. |
X |
is a n x p matrix of variables. |
locs |
is a n x 2 matrix of observation locations. |
inits |
is the list of current initial values |
corr_fun |
is a character that denotes the correlation function form. Current options include "matern" and "exponential". |
shared_covariance_params |
is a logical input that determines whether to fit the spatial process with component specifice parameters. If TRUE, each component has conditionally independent Gaussian process parameters theta and tau2. If FALSE, all components share the same Gaussian process parameters theta and tau2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.