powered by
Correlate two items
plot_metrics_one_cor( data, col, cross, limits = NULL, log = FALSE, title = TRUE, labels = TRUE, clean = TRUE, ... )
A ggplot object.
A tibble.
The first column holding metric values.
The second column holding metric values.
The scale limits, a list with x and y components, e.g. list(x=c(0,100), y=c(20,100)). Set NULL to extract limits from the labels.
list(x=c(0,100), y=c(20,100))
Whether to plot log scales.
If TRUE (default) shows a plot title derived from the column labels. Disable the title with FALSE or provide a custom title as character value.
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 plot_metrics.
library(volker) data <- volker::chatgpt plot_metrics_one_cor(data, use_private, sd_age)
Run the code above in your browser using DataLab