Learn R Programming

agriutilities (version 1.2.1)

print.smaAgri: Print an object of class smaAgri

Description

Prints information about single_trial_analysis function.

Usage

# S3 method for smaAgri
print(x, ...)

Value

an object inheriting from class smaAgri.

Arguments

x

An object fitted with the function single_trial_analysis().

...

Options used by the tibble package to format the output. See `tibble::print()` for more details.

Author

Johan Aparicio [aut]

Examples

Run this code
# \donttest{
library(agridat)
library(agriutilities)
data(besag.met)
dat <- besag.met
results <- check_design_met(
  data = dat,
  genotype = "gen",
  trial = "county",
  traits = c("yield"),
  rep = "rep",
  block = "block",
  col = "col",
  row = "row"
)
out <- single_trial_analysis(results, progress = FALSE)
print(out)
# }

Run the code above in your browser using DataLab