md.constant {missDeaths} | R Documentation |
Creates information of a covariate that contains a fixed value (either numeric or date).
This function call must be added to the md.simparams
object.
md.constant(name, value)
name |
name of the covariate |
value |
value of the covariate |
## Not run:
library(missDeaths)
sim = md.simparams() +
md.constant("start", as.Date("1990-1-1"))
## End(Not run)