re_par_idx: General random effects parameter index

View source: R/prepare_pars.R

re_par_idxR Documentation

General random effects parameter index

Description

The variance of general random effects are stored in a length-4 vector. This function takes a name and returns the corresponding index.

Usage

re_par_idx(par_name)

Arguments

par_name

Name of the spatial/spatiotemporal parameter (e.g. gamm_n, eta_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.