Learn R Programming

qpcR (version 1.1-8)

confband: Confidence bands for a sigmoidal fit

Description

Calculates the confidence band for a fitted 'drc' model.

Usage

confband(object, level = 0.95)

Arguments

object
an object of class 'drc'.
level
the confidence level, defaults to 0.95.

Value

  • A list with the following components:
  • xthe x values, i.e. cycle number.
  • clothe response values of the lower confidence limit.
  • cupthe response values of the upper confidence limit.

Details

Calls the predict.drc function from the 'drc' package. The confidence intervals are based on asymptotic normality.

See Also

Also implemented in the pcrplot function for plotting the confidence bands.

Examples

Run this code
m <- pcrfit(reps, 1, 2, l5())
###with 99 percent confidence interval
ci <- confband(m, level = 0.99)
print(ci)
###plotting the confidence bands
pcrplot(m, confband = 0.99)

Run the code above in your browser using DataLab