find_re: Find s(, bs = "re") terms in formula

View source: R/utility.R

find_reR Documentation

Find s(, bs = "re") terms in formula

Description

This function is used to identify the variables "x" which are included as s(x, bs = "re") in the formula, in particular to check that they are factors.

Usage

find_re(form)

Arguments

form

Model formula

Value

Vector of names of variables for which a random effect term is included in the model.


TheoMichelot/hmmTMB documentation built on Dec. 13, 2024, 11:52 a.m.