'Calculating RMSEA, SRMR, and CFI after clustering?

I have completed clustering of data on individuals into different groups using the packages "mclust" and "tidyLPA" which uses mclust for the clustering. The clustering method I did is a latent profile analysis which is a type of mixture model. My indicators are continuous and my outcome latent variable is class membership. However, the panel of fit indices I get from the package only has AIC, BIC, and some others I'm not including. I would like to include RMSEA, CFI, and SRMR.

I have my data with each indicator in a separate column, and class membership in a single column. What can I do with this dataset to get the remaining fit indices I need? Any packages or functions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source