Get Factor Scores and the Corresponding Scoring Matrices for Mixed-Effect Models
get_fs_lmer.Rdget_fs_lmer() is superseded by get_fs(). It is retained for backward
compatibility and delegates to get_fs(object) internally. New code should
call get_fs() directly.
Usage
get_fs_lmer(
object,
method = c("EB"),
corrected_fsT = FALSE,
vfsLT = FALSE,
fsm = FALSE,
legacy_names = TRUE,
...
)Arguments
- object
A fitted model object of class lme4::lmerMod.
- method
"EB"(empirical Bayes, default) or"ML"(prior-free per-cluster OLS), forwarded toget_fs.merMod().- corrected_fsT
Currently not used.
- vfsLT
Currently not used.
- fsm
Currently not used.
- legacy_names
Logical. Passed to
get_fs.merMod(). Defaults toTRUEsoget_fs_lmer()keeps returning the pre-refactoru0_eb-style column names (in the legacy column order). Note the legacy output is name-compatible, not byte-identical, with the pre-refactor result: it additionally carries score-error columns (u0_eb_se, ...), per-clusterfsL/fsTarray attributes, a per-clusterscoring_matrixlist attribute (seeget_fs()), and has NULL row names (the pre-refactor output had no_secolumns, no attributes, and used the ranef subject IDs as row names).- ...
Additional arguments, passed on to
get_fs().