ClinicalExperiment: ClinicalExperiment constructor function

Description Usage Arguments Details Value Author(s) Examples

Description

This is a constructor function for the ClinicalExperiment

Usage

1
2
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

the names of the factors; default names are constructed if not specified

number.of.factor.levels

the number of levels of each factor; defaults to 2 for each

factor.level.names

the names of the factor levels; default names are constructed if not specified

number.of.treatments

the number of treatments; defaults to 2

treatment.names

the names of the treatments; defaults are constructed if not specified

Details

This function merely constructs a ClinicalExperiment object for use later on with a randomizer.

Value

An object of class ClinicalExperiment

Author(s)

Balasubramanian Narasimhan

Examples

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

SRS documentation built on May 31, 2017, 3:18 a.m.