metan (version 1.2.1)

print.waasb: Print an object of class waasb

Description

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

Arguments

x

An object of class waasb.

export

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

blup

A logical argument. If TRUE|T, the blups are shown.

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.

Examples

Run this code
# NOT RUN {
library(metan)
model <- waasb(data_ge,
  resp = c(GY, HM),
  gen = GEN,
  env = ENV,
  rep = REP
)
print(model)
# }

Run the code above in your browser using DataLab