View source: R/ks.correlation_plot.R
Draw a correlation plot with reference f(x)=x axis and correlation metrics.
1 2 3 4 5 6 7 8 9 10 | ks.correlation_plot(
var1,
var2,
labvar1,
labvar2,
title,
yx = T,
metoda = "pearson",
gdzie_legenda = "topleft"
)
|
var1 |
First numeric variable. |
var2 |
Second numeric variable. |
labvar1 |
Label to be written on plot for fist variable. |
labvar2 |
Label to be written on plot for second variable. |
yx |
Logical varable. TRUE if you want f(x)=x axis for reference (usefull for calibration plots). |
gdzie_legenda |
Where the legend should be placed? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.