Inspect nearby random-effect spellings for one grouping factor
Source:R/random-options.R
random_options.Rdrandom_options() is an opt-in map over nearby random-effect structures
for a grouping factor. It recompiles each displayed spelling through the
same upstream audit path as compile_model(), so support facts and block
meanings come from Rust-authored RandomTermCard records.
Arguments
- spec
An
mm_specfromcompile_model()or, in later phases, anmm_fit.- group
Grouping factor to inspect. May be supplied bare (
group = subject) or as a string.- slope
Optional slope variable to use for nearby slope-bearing spellings. When omitted, the function uses the first current random slope for
group, then any scope-note fixed effect forgroup, then the first non-intercept fixed effect.