print.can_cor: Print an object of class can_cor

View source: R/can_cor.R

print.can_corR Documentation

Print an object of class can_cor

Description

Print an object of class can_cor object 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 'can_cor'
print(x, export = FALSE, file.name = NULL, digits = 3, ...)

Arguments

x

An object of class can_cor.

export

A logical argument. If TRUE|T, 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::print() for more details.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples


library(metan)
cc <- can_corr(data_ge2,
               FG = c(PH, EH, EP),
               SG = c(EL, CL, CD, CW, KW, NR, TKW),
               verbose = FALSE)
print(cc)


TiagoOlivoto/WAASB documentation built on April 30, 2024, 6:15 p.m.