check.pos: Check row and column positions

View source: R/check_pos.R

check.posR Documentation

Check row and column positions

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

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

# 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 March 14, 2024, 9:26 p.m.