precomputed.formulas: Precomputed formulas

precomputed.formulasR Documentation

Precomputed formulas

Description

Fixed effect combinations for model formulas with/without two- and three-way interactions. Up to eight fixed effects in total with up to five fixed effects per formula.

Format

A data.frame with 259,358 rows and 5 variables:

formula_

combination of fixed effects, separated by "+" and "*"

max_interaction_size

maximum interaction size in the formula, up to 3

max_effect_frequency

maximum count of an effect in the formula, e.g. the 3 A's in "A * B + A * C + A * D"

num_effects

number of unique effects included in the formula

min_num_fixed_effects

minimum number of fixed effects required to use the formula, i.e. the index in the alphabet of the last of the alphabetically ordered effects (letters) in the formula, so 4 for the formula: "A + B + D"

Details

Effects are represented by the first eight capital letters.

Used by combine_predictors.

Author(s)

Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk


cvms documentation built on Sept. 11, 2024, 6:22 p.m.