print.lpcor {metan} | R Documentation |
Print the partial correlation coefficients
Description
Print an object of class lpcor
or or lpcor_group
in two ways.
By default, the results are shown in the R console. The results can also be
exported to the directory.
Usage
## S3 method for class 'lpcor'
print(x, export = FALSE, file.name = NULL, digits = 3, ...)
Arguments
x |
An object of class |
export |
A logical argument. If |
file.name |
The name of the file if |
digits |
The significant digits to be shown. |
... |
Options used by the tibble package to format the output. See
|
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
Examples
library(metan)
pcor <- lpcor(data_ge2, NR, NKR, NKE)
print(pcor)
# Compute the correlations for each level of the factor ENV
lpc2 <- lpcor(data_ge2,
NR, NKR, NKE,
by = ENV)
print(lpc2)
[Package metan version 1.18.0 Index]