print.ge_stats function

Print an object of class ge_stats

Print an object of class ge_stats

Print the ge_stats 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.

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

Arguments

  • x: An object of class ge_stats.

  • what: What should be printed. what = "all" for both statistics and ranks, what = "stats" for statistics, and what = "ranks"

    for ranks.

  • 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.

Examples

library(metan) model <- ge_stats(data_ge, ENV, GEN, REP, GY) print(model)

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com