Description Usage Arguments Value
An object specifing a simulation. Currently only Cox proportional hazard models are supported.
1 2 3 | createSimulationSettings(nSites = 5, n = 10000,
treatedFraction = 0.2, nStrata = 10, minBackgroundHazard = 2e-07,
maxBackgroundHazard = 2e-05, hazardRatio = 2, randomEffectSd = 0)
|
nSites |
Number of database sites to simulate. |
n |
Number of subjects per site. Either a single number, or a vector of length nSites. |
treatedFraction |
Fraction of subjects that is treated. Either a single number, or a vector of length nSites. |
nStrata |
Number of strata per site. Either a single number, or a vector of length nSites. |
minBackgroundHazard |
Minimum background hazard. Either a single number, or a vector of length nSites. |
maxBackgroundHazard |
Maximum background hazard. Either a single number, or a vector of length nSites. |
hazardRatio |
Hazard ratio. |
randomEffectSd |
Standard deviation of the log(hazardRatio). Fixed effect if equal to 0. |
An object of type simulationSettings
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.