print.mtsi: Print an object of class mtsi

print.mtsiR Documentation

Print an object of class mtsi

Description

Print a mtsi 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 'mtsi'
print(x, export = FALSE, file.name = NULL, digits = 4, ...)

Arguments

x

An object of class mtsi.

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)
# Based on stability only
MTSI_MODEL <- waasb(data_ge,
  resp = c(GY, HM),
  gen = GEN,
  env = ENV,
  rep = REP
)

MTSI_index <- mtsi(MTSI_MODEL)
print(MTSI_index)


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