rd_terms_by_grouping: Extract terms by grouping variables from a formula

View source: R/helpfunctions_ranefs.R

rd_terms_by_groupingR Documentation

Extract terms by grouping variables from a formula

Description

This function takes a formula as input, extracts terms that are associated with grouping variables, and organizes them by grouping variable.

Usage

rd_terms_by_grouping(formula)

Arguments

formula

a formula object

Value

a named list of one-sided formulas, where each name corresponds to a grouping variable and the formula contains all terms associated with that grouping variable.


JointAI documentation built on Jan. 30, 2026, 5:07 p.m.