View source: R/Fit-Functions.R

k_model_fit | R Documentation |

Model fit indices extracted from k-folds

k_model_fit(models, index = "default", by.fold = TRUE)

`models` |
an object returned from |

`index` |
character; one or more fit indices to summarize in the report. Use |

`by.fold` |
Should each element in the returned lists be a fold (default) or a factor model? |

`list`

of data.frames with average model fit for each factor model

data(example.kfa) # customize fit indices to report k_model_fit(example.kfa, index = c("chisq", "cfi", "rmsea", "srmr")) # organize results by factor model rather than by fold k_model_fit(example.kfa, by.fold = FALSE)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.