md.constant | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.