ezcor_partial_cor {UCSCXenaShiny} | R Documentation |
Run partial correlation
Description
Run partial correlation
Usage
ezcor_partial_cor(
data = NULL,
split = FALSE,
split_var = NULL,
var1 = NULL,
var2 = NULL,
var3 = NULL,
cor_method = "pearson",
sig_label = TRUE,
...
)
Arguments
data |
a |
split |
whether perform correlation grouped by a variable, default is 'FALSE' |
split_var |
a |
var1 |
a |
var2 |
a |
var3 |
a |
cor_method |
method="pearson" is the default value. The alternatives to be passed to cor are "spearman" and "kendall" |
sig_label |
whether add symbal of significance. P < 0.001,""; P < 0.01,""; P < 0.05,""; P >=0.05,"" |
... |
other arguments passed to methods |
Value
a data.frame
Author(s)
Yi Xiong
See Also
ppcor::pcor.test()
which this function wraps.
[Package UCSCXenaShiny version 2.1.0 Index]