spatial_model_order: Derive the order of the spatial model

Description Usage Arguments Value

View source: R/spflow-simulations.R

Description

The order of a spatial model corresponds to the number of neighborhood matrices that is used to describe the spatial dependence.

Usage

1
spatial_model_order(model = "model_9")

Arguments

model

A character indicating the model number, indicating different spatial dependence structures (see documentation for details), should be one of paste0("model_", 1:9)

Value

An integer corresponding to the number of weight matrices


spflow documentation built on Sept. 9, 2021, 5:06 p.m.