repo.met: Automatic report for a MET with a RCBD

View source: R/repo_met.R

repo.metR Documentation

Automatic report for a MET with a RCBD

Description

Produces an automatic report for selected traits in a multi environment trial (MET) with a RCBD in each environment.

Usage

repo.met(
  traits,
  geno,
  env,
  rep,
  dfr,
  maxp = 0.1,
  pe = FALSE,
  se = FALSE,
  title = "Automatic report for a MET with a RCBD",
  subtitle = NULL,
  author = "International Potato Center",
  format = c("html", "word", "pdf"),
  server = FALSE,
  server_dir_name = "directory",
  server_file_name = "filename"
)

Arguments

traits

The traits to analize.

geno

The genotypes.

env

The environments.

rep

The replications.

dfr

The name of the data frame containing the data.

maxp

Maximum allowed proportion of missing values to estimate, default is 10%.

pe

Logical. If "pe = TRUE" multiple comparison tests for principal effects are included even if interaction is significat. Default to "pe = FALSE".

se

Logical. If "se = TRUE" multiple comparison tests for simple effects are included even if interaction is not significat. Default to "se = FALSE".

title

Report title.

subtitle

Report subtitle.

author

Report author.

format

The output file format for the report, "html" by default. Other options are "word" and "pdf".

server

Logical. If "FALSE" works with local machines. Otherwise works in server environments.

server_dir_name

If "server = TRUE", this is the directory name in the server.

server_file_name

If "server = TRUE", this is the file name in the server.

Details

It fits a linear model for a MET with a RCBD for the selected trait. If data is unbalanced, missing values are estimated up to an specified maximum proportion, 10% by default. Genotypes and environments are considered as fixed factors while the blocks are considered as random and nested into the environments for ANOVA. For variance components estimation all the factors are treated as random.

Value

It returns an automatic report about the MET with a RCBD fitted model.

Author(s)

Raul Eyzaguirre.

Examples

repo.met(c("rytha", "fytha"), "geno", "env", "rep", megaclones)

reyzaguirre/pepa documentation built on April 20, 2024, 3:50 a.m.