powered by
Correlate two columns
tab_metrics_one_cor( data, col, cross, method = "pearson", ci = FALSE, digits = 2, labels = TRUE, clean = TRUE, ... )
A volker tibble.
A tibble.
The first column holding metric values.
The second column holding metric values.
The output metrics, TRUE or pearson = Pearson's R, spearman = Spearman's rho
Whether to output confidence intervals.
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_counts.
library(volker) data <- volker::chatgpt tab_metrics_one_cor(data, use_private, sd_age)
Run the code above in your browser using DataLab