as.data.frame.predint function

Store prediction intervals or limits as a data.frame

Store prediction intervals or limits as a 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, ...)

Arguments

  • x: object of class predint
  • ...: additional arguments to be passed to base::as.data.frame()

Returns

This function returns the prediction intervals or limits stored in an object of class "predint" as a data.frame

Examples

### 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.
  • Maintainer: Max Menssen
  • License: GPL (>= 2)
  • Last published: 2024-03-04