plotDPC: Plot the detection probability curve

View source: R/plotDPC.R

plotDPCR Documentation

Plot the detection probability curve

Description

Plot the detection probability curve

Usage

plotDPC(
  dpcFit,
  add.jitter = TRUE,
  jitter.amount = NULL,
  point.cex = 0.2,
  lwd = 2,
  ylim = c(0, 1)
)

Arguments

dpcFit

The DPC fit results.

add.jitter

Logical. Whether to add jitter to the detected proportion axis.

jitter.amount

Amount of jittering.

point.cex

Size of the points.

lwd

Line width.

ylim

Limits of the y-axis.

Value

The plot.

Examples

# See the vignettes.

Mengbo-Li/protDP documentation built on Oct. 26, 2023, 9:50 p.m.