print.corr_coef: Print an object of class corr_coef

View source: R/corr_coef.R

print.corr_coefR Documentation

Print an object of class corr_coef

Description

Print the corr_coef object in two ways. By default, the results are shown in the R console. The results can also be exported to the directory into a *.txt file.

Usage

## S3 method for class 'corr_coef'
print(x, export = FALSE, file.name = NULL, digits = 3, ...)

Arguments

x

An object of class corr_coef

export

A logical argument. If TRUE, a *.txt file is exported to the working directory.

file.name

The name of the file if export = TRUE

digits

The significant digits to be shown.

...

Options used by the tibble package to format the output. See tibble::formatting() for more details.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples


library(metan)
sel <- corr_coef(data_ge2, EP, EL, CD, CL)
print(sel)


metan documentation built on March 7, 2023, 5:34 p.m.