cor_test | R Documentation |
Intended for use within the function tax_model
cor_test(formula, data, ...)
formula |
a formula in form y ~ x |
data |
dataframe |
... |
passed to cor.test |
data("shao19")
ps <- shao19 %>%
ps_filter(family_role == "mother") %>%
tax_filter(min_prevalence = 20) %>%
tax_agg("family")
cors <- ps %>% tax_model(
rank = "family", variables = list("age", "number_reads"), type = cor_test
)
tax_models_get(cors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.