is_matrix_term: Check if a term returns a matrix when evaluated

View source: R/basis_utils.R

is_matrix_termR Documentation

Check if a term returns a matrix when evaluated

Description

Check if a term returns a matrix when evaluated

Usage

is_matrix_term(term, data)

Arguments

term

Character string representing a formula term

data

Data frame to evaluate against (should be ungrouped)

Value

Logical indicating if the term returns a matrix


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