repo_dca: Automatic report for a Completely Randomized Design (CRD)

Description Usage Arguments Details Value Author(s)

Description

Produces an automatic report for selected traits in an experiment with a CRD.

Usage

1
2
3
4
repo_dca(traits, geno, data, maxp = 0.1,
  title = "Automatic report for a Completely Randomized Design (CRD)",
  subtitle = NULL, author = "International Potato Center",
  format = c("html", "word", "pdf"))

Arguments

traits

The traits to analize.

geno

The genotypes.

data

The name of the data frame.

maxp

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

title

The title.

subtitle

The subtitle.

author

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 CRD and explains the results.

Under the assumption of fixed effects an ANOVA table is computed. If the ANOVA results in a significant value then the Tukey HSD method for pairwise differences is applied. Assumptions of the model are evaluated with residual plots.

Under the assumption of random effects the model is estimated using REML and the variance components are shown.

Value

It returns an explanation about the CRD fitted model.

Author(s)

Raul Eyzaguirre.


omarbenites/cpreport documentation built on May 25, 2019, 10:45 p.m.