CreatePrgFact: Create a new TrainRandoProgFact object.

Description Usage Arguments Value See Also Examples

View source: R/PrgFact.R

Description

This create a new list with a first prognostic factor

Usage

1
2
3
4
CreatePrgFact(
  progfactLabel = "Prognostic factor 1",
  progfactLevels = c("A", "B", "C")
)

Arguments

progfactLabel

a character string with the name of the prognostic factor.

progfactLevels

a vector of character strings with the levels of the prognostic factor.

Value

Une liste de classe SAPUL4012Moy2EchPair.

See Also

AddNewPrgFact

Examples

1
myprogfact <- CreatePrgFact(progfactLabel = "Age group",progfactLevels=c("0-18 years", "19-35 years","36-60 years","> 60 years"))

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