Nothing
#
# Test index, cluster and factor
#
library(testthat)
library(volker)
test_that("pca results are reproducable", {
data <- volker::chatgpt
set.seed(137)
expect_snapshot({
data %>% add_factors(
tidyselect::starts_with("cg_adoption"), k = 3) %>%
factor_tab(starts_with("fct_cg_adoption"))
})
})
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.