Nothing
context("test-compare_solutions.R")
x <- estimate_profiles(iris[, 1:4], n_profiles = 2:4)
test_that("compare_solutions works with iris data when we use compare_solutions()
outside of a pipe", {
expect_s3_class(suppressWarnings(compare_solutions(x)), "bestLPA")
})
# pisaUSA_compare <- pisaUSA15[1:100, ] %>%
# single_imputation() %>%
# estimate_profiles(2:3,
# variances = c("equal", "varying"),
# covariances = c("zero", "varying")) %>%
# compare_solutions(statistics = c("AIC", "BIC"))
#
# test_that("compare_solutions works with PISA data when we use compare_solutions
# in a pipe", {
# expect_s3_class(pisaUSA_compare, "bestLPA")
# })
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.