Simfit | R Documentation |
S3 generic for fitting models
Simfit(x, family = "negbin", equal.dispersion = TRUE, covar = NULL, ...)
x |
The S3 object |
family |
Either "negbin" for fitting a negative binomial model (using |
equal.dispersion |
logical, should the arms have the same dispersion parameter when fitting negative binomial models |
covar |
A formula containing the additional covariates to be used when calling |
... |
Additional arguments to be passed to |
A SingleSimFit
object
SingleSimFit.object
set.seed(1234)
sim <- SimulateComplete(study.time=1,number.subjects=50,
event.rates=c(0.1,0.05),dispersions=0.1)
summary(Simfit(sim,equal.dispersion=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.