calc_assoc_pval_matrix | R Documentation |
Calculate p-values for all pairwise associations of features in a data list
calc_assoc_pval_matrix(dl, verbose = FALSE, cat_test = "chi_squared")
dl |
A nested list of input data from |
verbose |
If TRUE, output progress to the console. |
cat_test |
String indicating which statistical test will be used to associate cluster with a categorical feature. Options are "chi_squared" for the Chi-squared test and "fisher_exact" for Fisher's exact test. |
A "matrix" class object containing pairwise association p-values between the features in the provided data list.
data_list <- data_list(
list(income, "household_income", "demographics", "ordinal"),
list(pubertal, "pubertal_status", "demographics", "continuous"),
list(anxiety, "anxiety", "behaviour", "ordinal"),
list(depress, "depressed", "behaviour", "ordinal"),
uid = "unique_id"
)
assoc_pval_matrix <- calc_assoc_pval_matrix(data_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.