predict-methods: Methods for Function 'predict' in Package 'QMRA'

Description Usage Arguments Details Methods See Also Examples

Description

Predict dose-response from objects of class "drm".

Usage

1
2
## S4 method for signature 'drm'
predict(object, dose, conf_level = 0.95, ...)

Arguments

object

Object of class "drm".

dose

Vector of doses for which the response needs to be predicted.

conf_level

Confidence level used in the construction of confidence intervals; defaults to 0.95.

...

Other arguments to be passed to predict; currently ignored.

Details

The construction of confidence intervals for the predicted probability of response is based on the Delta method.

Methods

signature(object = "drm")

See Also

drm

Examples

1
2
3
4
5
6
## Fit Beta-Poisson dose-response model to Campylobacter dataset
fit <- drm(x = infected, n = total, dose = dose,
           data = campy, model = "bp")

## Predict probability of response at dose 1
predict(fit, dose = 1)

brechtdv/QMRA documentation built on May 13, 2019, 5:06 a.m.