extract_ranef_vars: Extract variables from random effects terms

View source: R/wb_formula.R

extract_ranef_varsR Documentation

Extract variables from random effects terms

Description

Helper to extract variable names from random effects specifications

Usage

extract_ranef_vars(ranefs, data)

Arguments

ranefs

Character vector of random effects terms

data

Data frame to check for variable existence

Value

Character vector of variable names


panelr documentation built on Jan. 21, 2026, 9:06 a.m.