metan (version 1.2.1)

print.anova_ind: Print an object of class anova_ind

Description

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

Usage

# S3 method for anova_ind
print(x, export = FALSE, file.name = NULL, digits = 3, ...)

Arguments

x

An object of class anova_ind.

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

Run this code
# NOT RUN {
library(metan)
model <- data_ge %>% anova_ind(ENV, GEN, REP, c(GY, HM))
print(model)
# }

Run the code above in your browser using DataLab