pty.pesekbaker: Pepa tells you about the Pesek-Baker index

View source: R/pty_pesekbaker.R

pty.pesekbakerR Documentation

Pepa tells you about the Pesek-Baker index

Description

Explain the results of the Pesek-Baker index in plain English.

Usage

pty.pesekbaker(
  traits,
  geno,
  env,
  rep = NULL,
  dfr,
  means = "single",
  dgg = NULL,
  units = "sdu",
  sf = 0.1,
  author = "International Potato Center",
  format = c("html", "word", "pdf")
)

Arguments

traits

List of traits.

geno

The genotypes.

env

The environments.

rep

The replications. Must be defined if model = "gxe".

dfr

The name of the data frame containing the data.

means

The genotypic means to compute the index, "single" or "fitted". The default is "single". See details for more information.

dgg

Desired genetic gains. The default is one standard deviation for each trait.

units

Units for dgg, "actual" or "sdu". See details for more information.

sf

Selected fraction. The default is 0.1.

author

Report author.

format

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

Details

Type ?pesekbaker for additional details.

Value

It returns an explanation about the Pesek-Baker index.

Author(s)

Raul Eyzaguirre.

Examples

pty.pesekbaker(c("rytha", "bc", "dm", "star", "nocr"), "geno", "loc", "rep", spg)

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