plot.LD50: Plot results of LD50() that best describe LD50

View source: R/plot.LD50.R

plot.LD50R Documentation

Plot results of LD50() that best describe LD50

Description

Plot the estimates that best describe lethality of doses.

Usage

## S3 method for class 'LD50'
plot(
  x,
  ...,
  las.x = 1,
  las.y = 1,
  lab.PT = "LD50",
  at = NULL,
  lab.TRD = paste0("Transitional range of doses l=", l * 100, "%"),
  col.TRD = "gray",
  col.TRD.CI = rgb(0.8, 0.8, 0.8, 0.5),
  col.PT.CI = rgb(0.8, 0.8, 0.8, 0.5),
  show.CI = TRUE
)

Arguments

x

A result file generated by IC50()

...

Parameters for plot()

las.x

las parameter for x axis

las.y

las parameter for y axis

lab.PT

Label to describe pivotal dose

at

Position of ticks in x-axis

lab.TRD

Label to describe transitional range of dose

col.TRD

The color of TRD

col.TRD.CI

The color of CI of TRD based on range.CI

col.PT.CI

The color of CI of PT based on range.CI

show.CI

Do the CI for the curve should be shown

Details

plot.LD50 plot result of IC50() that best describe IC50

Value

Nothing

Author(s)

Marc Girondot marc.girondot@gmail.com

See Also

Other LD50 functions: LD50(), LD50_MHmcmc(), LD50_MHmcmc_p(), logLik.LD50(), predict.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, xlim=c(0, 300))

## End(Not run)

HelpersMG documentation built on Sept. 12, 2024, 9:35 a.m.