mfinal <- data %>%
select(intrinsic, career, determination, efficacy, grade) %>%
single_imputation() %>%
scale() %>%
estimate_profiles(3, variances = "varying", covariances = "varying" )
mfinal
get_data(mfinal)
write.csv(mfinal, "mfinal.csv")
using tidyLPA, i got the data and want to get excel file.
but there's error like this;
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) :
cannot coerce class ‘"Mclust"’ to a data.frame
how can I get the excel data?