powered by
tab_metrics_items_cor( data, cols, cross, method = "pearson", digits = 2, labels = TRUE, clean = TRUE, ... )
A volker tibble.
A tibble.
The source columns.
The target columns or NULL to calculate correlations within the source columns.
The output metrics, pearson = Pearson's R, spearman = Spearman's rho.
The number of digits to print.
If TRUE (default) extracts labels from the attributes, see codebook.
Prepare data by data_clean.
Placeholder to allow calling the method with unused parameters from tab_metrics.
library(volker) data <- volker::chatgpt tab_metrics_items_cor( data, starts_with("cg_adoption_adv"), sd_age, metric = TRUE )
Run the code above in your browser using DataLab