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(
  trait,
  geno,
  env,
  rep,
  dfr,
  maxp = 0.1,
  author = "International Potato Center",
  format = c("html", "word", "pdf")
)

Arguments

trait

The trait 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%.

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("y", "geno", "env", "rep", met8x12)

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