tdt_format_random_effects: Format bare names as '(1 | name)' random-effect terms

View source: R/tdt-utils.R

tdt_format_random_effectsR Documentation

Format bare names as (1 | name) random-effect terms

Description

Format bare names as (1 | name) random-effect terms

Usage

tdt_format_random_effects(random_effects = NULL)

Arguments

random_effects

Optional character vector of grouping-variable names or already formatted random-intercept terms.

Value

A character vector of random-intercept terms. Bare names are wrapped as (1 | name); NULL or an empty input returns character().


freqTLS documentation built on Dec. 4, 2026, 5:11 p.m.