AddNewPrgFact: Add a new training factor in an existing TrainRandoProgFact...

Description Usage Arguments Value See Also Examples

View source: R/PrgFact.R

Description

This function adds a new prognostic factor in an existing TrainRandoProgFact object.

Usage

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

Arguments

currentProgfact

Une liste de classe SAPUL4012Moy2EchPair.

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

NewProgfact Une liste de classe SAPUL4012Moy2EchPair.

See Also

CreatePrgFact

Examples

1
myprogfact2 <- AddNewPrgFact(currentProgfact=myprogfact,progfactLabel = "Type of tumor",progfactLevels=c("A", "B","C"))

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