julia_model_tidiers {jlmerclusterperm} | R Documentation |
Tidier methods for Julia regression models
Description
Tidier methods for Julia regression models
Usage
## S3 method for class 'jlmer_mod'
tidy(x, effects = c("var_model", "ran_pars", "fixed"), ...)
## S3 method for class 'jlmer_mod'
glance(x, ...)
Arguments
x |
An object of class |
effects |
One of "var_model", "ran_pars", or "fixed" |
... |
Unused |
Value
A data frame
Examples
# Fixed-effects only model
mod1 <- to_jlmer(weight ~ 1 + Diet, ChickWeight)
tidy(mod1)
glance(mod1)
# Mixed model
mod2 <- to_jlmer(weight ~ 1 + Diet + (1 | Chick), ChickWeight)
tidy(mod2)
glance(mod2)
# Select which of fixed/random effects to return
tidy(mod2, effects = "fixed")
tidy(mod2, effects = "ran_pars")
[Package jlmerclusterperm version 1.1.4 Index]