addOneFit: Add Single Fitted Model to Plot

View source: R/addOneFit.R

addOneFitR Documentation

Add Single Fitted Model to Plot

Description

Add a single fitted model plot to an existing plot made with base graphics

Usage

addOneFit(
  fm,
  pch = 1,
  col = 2,
  col.pch = col,
  lty.fit = 1,
  col.fit = col,
  lty.ref = 2,
  col.ref = "gray",
  ...
)

Arguments

fm

single fitted model from getFit.

pch, col, col.pch

plot character and color for data points and the default color for the fitted line. Set pch to NA to exclude plotting characters.

lty.fit, col.fit

line type and color for the GLM best-fit line. Set lty.fit to NA to exclude the best-fit line.

lty.ref, col.ref

line type and color for the value on the x-axis that intersect the 63 NA to exclude the reference line.

...

Additional arguments passed to plot.

Details

Base graphics are used to add a plot to an existing plot produced by plotFit. The first argument is a single fitted model from getFit. The function calls getEC63 to obtain the fit and confidence intervals.

Value

No value is returned. This function is called for the side-effect of adding to an existing plot with points and lines.


ornelles/virustiter documentation built on March 15, 2024, 9:28 a.m.