cr.abd: Augmented Block Design

View source: R/cr_abd.R

cr.abdR Documentation

Augmented Block Design

Description

This function creates the fieldbook and fieldplan for an ABD.

Usage

cr.abd(
  geno,
  checks,
  nb,
  nc = NULL,
  serpentine = c("yes", "no"),
  alongside = c("no", "rows", "columns")
)

Arguments

geno

The list of genotypes.

checks

The list of checks.

nb

Number of blocks.

nc

Number of available columns on the field.

serpentine

"yes" or "no", default "yes".

alongside

"no" for independent blocks, or "rows" or "columns" if blocks are together alongside rows or columns.

Value

It returns the fieldbook and fieldplan.

Author(s)

Raul Eyzaguirre.

Examples

checks <- paste("ch", 1:4, sep = "_")
cr.abd(1:40, checks, 4, 10)
cr.abd(1:50, checks, 3, 7)

reyzaguirre/st4gi documentation built on April 20, 2024, 3:53 a.m.