Simfit {dejaVu} | R Documentation |
S3 generic for fitting models
Description
S3 generic for fitting models
Usage
Simfit(x, family = "negbin", equal.dispersion = TRUE, covar = NULL, ...)
Arguments
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 |
Value
A SingleSimFit
object
See Also
Examples
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))
[Package dejaVu version 0.3.1 Index]