print.ammi_indexes function

Print an object of class ammi_indexes

Print an object of class ammi_indexes

Print the ammi_indexes 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 'ammi_indexes' print(x, which = "stats", export = FALSE, file.name = NULL, digits = 3, ...)

Arguments

  • x: An object of class ammi_indexes.

  • which: Which should be printed. Defaults to "stats". Other possible values are "ranks" for genotype ranking and "ssi"

    for the simultaneous selection index.

  • 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 <- performs_ammi(data_ge, ENV, GEN, REP, GY) %>% ammi_indexes() print(model)

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com