pty.aovmet: Pepa tells you about a MET with a RCBD

View source: R/pty_aovmet.R

pty.aovmetR Documentation

Pepa tells you about a MET with a RCBD

Description

Explain a fitted model for a multi environment trial (MET) with a RCBD in each environment in plain English.

Usage

pty.aovmet(
  dfr,
  y,
  geno,
  env,
  rep,
  maxp = 0.1,
  author = "International Potato Center",
  format = c("html", "word", "pdf")
)

Arguments

dfr

The name of the data frame containing the data.

y

The variable to analize.

geno

The genotypes.

env

The environments.

rep

The replications.

maxp

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

author

Report author.

format

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

Details

It fits a linear model for a MET with a RCBD and explains the results. 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.

Value

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

Author(s)

Raul Eyzaguirre.

Examples

pty.aovmet(met8x12, "y", "geno", "env", "rep")

reyzaguirre/pepa documentation built on March 29, 2025, 9:56 p.m.