corTestDf | R Documentation |
The function computes the whole correlation matrix and corresponding sample sizes and p
-values. Print method is also available.
corTestDf(X, method = "p", use = "everything", ...)
## S3 method for class 'corTestDf'
print(x, digits = c(3, 3), format = NULL, ...)
printCorTestDf(l, digits = c(3, 3), format = NULL, ...)
X |
Data matrix with selected variables. |
method |
A type of correlation coefficient to be calculated, see function |
use |
In the case of missing values, which method should be used, see function |
... |
Other parameters to print.default (not needed). |
x |
Output of |
digits |
Vector of length two for the number of digits (the first element of a vector corresponds to the number of digits for correlation coefficients and the second element of a vector corresponds to the number of digits for |
format |
A vector of length two for the formatting of the output values. |
l |
Output of |
Ales Ziberna
cor.test
corTestDf(mtcars[, 3:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.