model_spatial: Run spatial row and column model

Description Usage Arguments Details Value Author(s) See Also

View source: R/model_spatial.R

Description

model_spatial runs spatial row and column model based on the SpATS package

Usage

1
model_spatial(data, variable)

Arguments

data

The data frame on which the model is run. It should come from format_data_PPBstats.data_agro

variable

variable to analyse

Details

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.

Value

The function returns a list with two elements :

Author(s)

Pierre Riviere

See Also


priviere/PPBstats documentation built on May 6, 2021, 1:20 a.m.