Description Usage Arguments Details Value Author(s) See Also Examples
Classifies a cross-over design.
1 | classify_seq(sequences, summary = T)
|
sequences |
An object of |
summary |
A |
classify_seq()
supports the classification of a cross-over design (see
sequences
). Ultimately, the design will be assigned in to one of
twelve possible categories. Briefly, a design is said to be a balanced block
design if the following three conditions hold:
Each treatment appears equally often in the design;
The design is binary in the sense that each treatment appears in each block either n or n + 1 times, where n is an integer;
The number of concurrences of treatments d1 and d2 is the same for all pairs of distinct treatment (d1, d2 ).
Here, the blocks are either rows or columns. A design that has less columns (rows) than treatments is said to be incomplete with respect to rows (columns). A design that is balanced with respect to both rows and columns is called a generalized Youden design (GYD). A GYD for which each treatment occurs equally often in each row (column) is called uniform on the rows (columns). If both conditions hold, it is called a generalized Latin Square. A design where each treatment occurs exactly once in each row and column is called a Latin Square. See the package vignette for details on these potential classifications.
A list
containing the following components
classification
: A character
string
describing the classification of the specified cross-over design.
occurrences
: A matrix
describing the
treatment occurrences.
col_incidences
: A matrix
describing the
treatment column incidences.
row_incidences
: A matrix
describing the
treatment row incidences.
col_concurrences
: A matrix
describing the
treatment column concurrences.
row_concurrences
: A matrix
describing the
treatment row concurrences.
Based on code from the crossdes
package by
Oliver Sailer.
The seq_#()
functions within xover
.
1 2 3 | # Classify a three-treatment three-period Latin Square
latin <- seq_latin(D = 3)
classify <- classify_seq(latin)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.