check.pos: Check row and column positions

Description Usage Arguments Value Author(s) Examples

View source: R/check_pos.R

Description

This function checks that there is only one genotype in each row and column position. This is a wrapper for ck.pos function.

Usage

1
check.pos(row, col, rep, dfr)

Arguments

row

Label for rows.

col

Label for columns.

rep

Label for replications.

dfr

The name of the data frame.

Value

For each replication a list of plots (unique row and column position) with more than one genotype.

Author(s)

Raul Eyzaguirre.

Examples

1
2
3
4
5
# Create a design
dfr <- cr.rcbd(1:20, 3, 10)
dfr <- dfr$book
# Check positions
check.pos('row', 'col', 'block', dfr)

reyzaguirre/st4gi documentation built on Oct. 7, 2018, 11:05 a.m.