pty.elston: Pepa tells you about the Elston index

View source: R/pty_elston.R

pty.elstonR Documentation

Pepa tells you about the Elston index

Description

Explain the results of the Elston index in plain English.

Usage

pty.elston(
  traits,
  geno,
  env = NULL,
  rep = NULL,
  dfr,
  means = "single",
  lb = 1,
  author = "International Potato Center",
  format = c("html", "word", "pdf")
)

Arguments

traits

List of traits.

geno

The genotypes.

env

The environments.

rep

The replications.

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.

lb

Lower bound. 1 for k = min(x) and 2 for k = (n \times min(x) - max(x)) / (n - 1).

author

Report author.

format

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

Details

Type ?elston for additional details.

Value

It returns an explanation about the Elston index.

Author(s)

Raul Eyzaguirre.

Examples

pty.elston(c("rytha", "bc", "dm", "star", "nocr"), "geno", dfr = spg)

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