View source: R/zinb_comparison.R
predict.zinbboot | R Documentation |
Prediction for zinbboot
## S3 method for class 'zinbboot'
predict(
object,
newdata = NULL,
type = c("predicted", "counts", "zi", "evinf", "count_state", "states", "all",
"quantile"),
pred = c("original", "bootstrap_median", "bootstrap_mean"),
quantile = NULL,
confint = FALSE,
conf_level = 0.9,
...
)
object |
a fitted zinbboot object |
newdata |
Data to make predictions on |
type |
What prediction should be computed? |
pred |
Prediction type, 'original', 'bootstra_median', or 'bootstrap_mean' |
quantile |
Quantile for quantile prediction |
confint |
Should confidence intervals be created? |
conf_level |
Confidence level when predicting with CIs |
... |
Not used |
Predictions from zinbboot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.