printCor | R Documentation |
Prints the results of a correlation test (cor.all
) or correlation matrix
in a compact form indicating positive or negative correlation.
printCor(x, criterion = 0.75)
x |
an object of class "cor.all" from |
criterion |
a numeric value indicating the test criterion for showing a value. |
The object x
is returned invisibly.
The printed output is a compressed table showing "+" where the value in x
is greater than criterion
, "-" where the value in x
is less than
-criterion
, "\" on the diagonal, if x
is symmetric, and "." where x
has a missing value, and " " otherwise.
cor.all
## Not run: library(smwrData) data(TNLoads) printCor(cor(TNLoads, method="spearman"), .5) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.