| compare_fit | R Documentation | 
 
Compare the fit indices of models (see below for model support)
compare_fit(
  ...,
  digits = 3,
  quite = FALSE,
  streamline = FALSE,
  return_result = FALSE
)
| ... | model. If it is a  | 
| digits | number of digits to round to | 
| quite | suppress printing output | 
| streamline | print streamlined output | 
| return_result | If it is set to  | 
a dataframe with fit indices and change in fit indices
# lme model
fit1 <- lm_model(
  data = popular,
  response_variable = popular,
  predictor_var = c(sex, extrav)
)
fit2 <- lm_model(
  data = popular,
  response_variable = popular,
  predictor_var = c(sex, extrav),
  two_way_interaction_factor = c(sex, extrav)
)
compare_fit(fit1, fit2)
# see ?measurement_invariance for measurement invariance example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.