getTreatment {randPack}R Documentation

Computes random allocation to treatment of a patient in a trial

Description

Computes random allocation to treatment of a patient in a trial according to the randomizers etc. defined.

Usage

getTreatment(cTrial, pData)

Arguments

cTrial

An instance of ClinicalTrial-class.

pData

An instance of PatientData-class.

Author(s)

RG and VC

See Also

help

Examples

data(pD1)
data(CT1)
getEnrolleeInfo(CT1)
getTreatment(CT1, pD1)
getEnrolleeInfo(CT1)

[Package randPack version 1.30.0 Index]