Hi all,
first of all, many thanks to Joshua and Caspar for hard work developing and maintaining tidyLPA. Now to my question. I have a tibble with 7 variables over 1139 observations. I am piping everything, code is:
PLStib %>%
select(S_ID, WPPSIRVSTD, ECSTDSCR, MLUM_T.x, MLUM_T.y, NDW_T.x, NDW_T.y) %>%
scale() %>%
estimate_profiles(1:4,
variances = c("equal", "varying"),
covariances = c("zero", "varying"),
package = "mclust") %>%
compare_solutions(statistics = c("AIC", "BIC")) %>%
plot_profiles()
and I am getting the error:
Error in UseMethod("droplevels") :
no applicable method for 'droplevels' applied to an object of class "NULL"
I have already tried installing the development version from Github. Any ideas?
Thank you in advance,
Sarah P.