term_indices: Indices of coefficients for given model term

View source: R/utility.R

term_indicesR Documentation

Indices of coefficients for given model term

Description

Indices of coefficients for given model term

Usage

term_indices(names_fe, names_re, term)

Arguments

names_fe

Names of fixed effect coefficients

names_re

Names of random effect coefficients

term

Name of term as character string, e.g. "time", or "s(time)"

Value

List with elements fe and re, which are vectors of the indices in coeff_fe and coeff_re (respectively) corresponding to the term.


TheoMichelot/smoothSDE documentation built on Jan. 26, 2024, 6:41 p.m.