Learn R Programming

Crossover (version 0.1-15)

CrossoverDesign-class: Class CrossoverDesign

Description

A S4 class for Crossover designs: CrossoverDesign

Arguments

Slots

list("design")
Matrix specifying the design. Rows represent periods and columns the subjects.
list("s")
Number of sequences.
list("p")
Number of periods.
list("v")
Number of treatments.
list("model")
A numeric specifying the model the design was searched for or -1 if unknown.
list("description")
Optional description of design or reference.
list("attr")
List with attributes.
list("misc")
List with miscellaneous stuff - not used yet.

Examples

Run this code
design <- t(rbind(c(1,1,2,2),
                  c(2,2,1,1),
                  c(1,1,2,2),
                  c(2,2,1,1),
                  c(1,2,2,1),
                  c(2,1,1,2)))

new("CrossoverDesign", design)

Run the code above in your browser using DataLab