print.gamem: Print an object of class gamem

Description Usage Arguments Author(s) Examples

Description

Print the gamem object in two ways. By default, the results are shown in the R console. The results can also be exported to the directory.

Usage

1
2
## S3 method for class 'gamem'
print(x, export = FALSE, file.name = NULL, digits = 4, ...)

Arguments

x

An object fitted with the function gamem() .

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::print() for more details.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples

1
2
3
4
5
6
7
8
9
library(metan)
alpha <- gamem(data_alpha,
  gen = GEN,
  rep = REP,
  block = BLOCK,
  resp = YIELD
)

print(alpha)

metan documentation built on Nov. 10, 2021, 9:11 a.m.