predict.LD50 {HelpersMG}R Documentation

Estimate survival according to doses

Description

Estimate survival according to doses.
The returned data.frame has the following components:
doses, SE, survival, CI.minus.sexratio, CI.plus.sexratio, range.CI

Usage

## S3 method for class 'LD50'
predict(
  object,
  doses = NULL,
  SE = NULL,
  range.CI = 0.95,
  replicates = 1000,
  progressbar = FALSE,
  ...
)

Arguments

object

A result file generated by LD50

doses

A vector of temperatures

SE

The standard error for doses, optional

range.CI

The range of confidence interval for estimation, default=0.95

replicates

Number of replicates to estimate CI

progressbar

Logical. Does a progression bar must be shown

...

Not used

Details

predict.LD50 Estimate survival according to doses

Value

A data.frame with informations about survival

Author(s)

Marc Girondot marc.girondot@gmail.com

See Also

Other LD50 functions: LD50(), LD50_MHmcmc(), LD50_MHmcmc_p(), logLik.LD50(), plot.LD50()

Examples

## Not run: 
#' data <- data.frame(Doses=c(80, 120, 150, 150, 180, 200),
Alive=c(10, 12, 8, 6, 2, 1),
Dead=c(0, 1, 5, 6, 9, 15))
LD50_logistic <- LD50(data, equation="logistic")
predict(LD50_logistic, doses=c(140, 170))
plot(LD50_logistic

## End(Not run)

[Package HelpersMG version 6.1 Index]