AddFirstSubject: AddFirstSubject

Description Usage Arguments Value Examples

View source: R/AddNewSubject.R

Description

AddFirstSubject

Usage

1
AddFirstSubject(progfact, Arms, usubjid = "Pat-0001")

Arguments

progfact

A TrainRandoProgFact object defining the prognostic factors

Arms

A TrainRandoArm object defining the treatment arms

usubjid

the identifier of the subject (that is the id of the patient)

Value

RandoDataFrame a TrainRandoSubj object witht the randomization data

Examples

1
2
data("myArms","myprogfact")
myRandoDataFrame <- AddFirstSubject(progfact=trainingrando::myprogfact,Arms=trainingrando::myArms)

NicDubois/trainingrando documentation built on March 13, 2020, 5:33 a.m.