ClinicalExperiment: Constructor function for ClinicalExperiment class

Description Usage Arguments Value Examples

Description

Constructor function for ClinicalExperiment class

Usage

1
2
3
ClinicalExperiment(number.of.factors = 2, factor.names,
  number.of.factor.levels, factor.level.names, number.of.treatments = 2,
  treatment.names)

Arguments

number.of.factors

the number of factors, defaults to 2

factor.names

names of factors defaults to F1 and F2

number.of.factor.levels

the number of levels of each factor, defaults to c(2,2)

factor.level.names

a list of character vectors specifying the factor level names, defaults to F1-1, F1-2, F2-1, F2-2, etc.

number.of.treatments

the number of treatments, defaults to 2

treatment.names

the names of the treatments; defaults to c("Tr1", "Tr2")

Value

a ClinicalExperiment class object

Examples

1
2
3
expt <- ClinicalExperiment(number.of.factors = 3,
                           number.of.factor.levels = c(2, 2, 3),
                           number.of.treatments = 3)

bnaras/SRS documentation built on May 12, 2019, 11:26 p.m.