design_experiment: Provides experimental design for the different situations...

Description Usage Arguments Details Value Author(s)

View source: R/design_experiment.R

Description

design_experiment provides experimental design for the different situations corresponding to the choosen family of analysis

Usage

1
2
3
design_experiment(expe.type, location = "location", year = "2016",
  germplasm, controls, nb.controls.per.block, nb.blocks, nb.cols,
  return.format = "standard")

Arguments

expe.type

The type of experiment to settle "satellite-farm", "regional-farm", "row-column", "fully-repicated", "IBD". See details for more information.

location

Name of the location.

year

Year of the experiment.

germplasm

Vector with the names of the germplasm.

controls

Vector with names of controls.

nb.controls.per.block

Number of controls per blocks.

nb.blocks

Number of blocks. For expe.type = "IBD", it corresponds to the number of locations.

nb.cols

Number of columns in the design. The number of rows is computed automaticaly.

return.format

"standard" or "shinemas". See details for more information.

Details

regarding return.format :

Note that an efficient R package to design experiment is DiGGer, see http://www.austatgen.org/software/ for mor details. Unfortunately, the lience of the package did not allow us to fork the code.

In this function, the code is based on the following algorithms:

See exampels in the book : here.

Value

The function returns a list with

Author(s)

Pierre Riviere


priviere/PPBstats documentation built on Aug. 10, 2018, 3:57 a.m.