rcd_seq: Row-column design specification

Description Usage Arguments Details Value Author(s) Examples

View source: R/rcd_seq.R

Description

Specifies the row-column design corresponding to an input cross-over design.

Usage

1
rcd_seq(sequences, model = 1, summary = T)

Arguments

sequences

An object of class xover_seq, describing the cross-over design for which the row-column design will be computed.

model

A single numeric integer between one and nine inclusive, specifying which model to compute the row-column design for. See Details for further information. Defaults to 1.

summary

A logical variable indicating whether a summary of the function's progress should be printed to the console. Defaults to T.

Details

rcd_seq() supports the specification of row-column designs. Precisely, a crossover design is provided (see sequences) and the corresponding row-column design for the chosen model (see model) is returned. The value of model must be an integer between one and nine inclusive, corresponding to the following models:

See the package vignette for further details on these models.

Value

A matrix of class xover_rcd detailing the determined row-column design.

Author(s)

Based on code from the Crossover package by Kornelius Rohmeyer.

Examples

1
2
3
# Row-column design for a three-treatment three-period Latin square
latin <- seq_latin(D = 3)
rcd   <- rcd_seq(latin)

mjg211/xover documentation built on Oct. 16, 2019, 10:46 a.m.