cor_test | R Documentation |
(partial) correlation test
cor_test(x, y, z = NULL, level = 0.05)
x |
A numeric vector representing the first variable. |
y |
A numeric vector representing the second variable. |
z |
An optional numeric vector or matrix of control variables. If provided, partial correlation is computed. |
level |
(optional) Significance level. Default is 0.05. |
A numeric vector
gzma = sf::read_sf(system.file('extdata/gzma.gpkg',package = 'sdsfun'))
cor_test(gzma$PS_Score,gzma$EL_Score)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.