View source: R/as.data.frame.predint.R
as.data.frame.predint | R Documentation |
data.frame
Get the prediction intervals or limits of an object of class predint
and
save them as a data.frame
.
## S3 method for class 'predint'
as.data.frame(x, ...)
x |
object of class |
... |
additional arguments to be passed to |
This function returns the prediction intervals or limits stored in an
object of class "predint"
as a data.frame
### PI for quasi-Poisson data
pred_int <- quasi_pois_pi(histdat=ames_HCD,
newoffset=3,
nboot=100,
traceplot = FALSE)
# Return the prediction intervals as a data.frame
as.data.frame(pred_int)
# Please note that nboot was set to 100 in order to decrease computing time
# of the example. For a valid analysis set nboot=10000.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.