spat_par_idx: Spatial parameter index

View source: R/prepare_pars.R

spat_par_idxR Documentation

Spatial parameter index

Description

Spatial/spatiotemporal parameters (kappa and tau) are stored in a length-8 vector. This function takes a name and returns the corresponding index.

Usage

spat_par_idx(par_name)

Arguments

par_name

Name of the spatial/spatiotemporal parameter (e.g. omega_n, phi_w &c.)

Value

The index of the effect in the parameter vectors

Author(s)

John Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.