Description Usage Arguments Details Value Author(s) See Also
View source: R/model_spatial.R
model_spatial
runs spatial row and column model based on the SpATS package
1 | model_spatial(data, variable)
|
data |
The data frame on which the model is run.
It should come from |
variable |
variable to analyse |
The model is run with the SpATS function of package SpATS. See ?SpATS for more information.
More information can be found in the book here.
The function returns a list with two elements :
info : a list with variable
model :
model: the output from SpATS function
summary: summary of the model
df_residuals: effective degree of freedom of the residuals
MSerror: Mean Square error
Pierre Riviere
check_model
check_model.fit_model_spatial
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.