plot.enve.GrowthCurve: Enveomics: Plot of Growth Curve

View source: R/growthcurve.R

plot.enve.GrowthCurveR Documentation

Enveomics: Plot of Growth Curve

Description

Plots an enve.GrowthCurve object.

Usage

## S3 method for class 'enve.GrowthCurve'
plot(
  x,
  col,
  pt.alpha = 0.9,
  ln.alpha = 1,
  ln.lwd = 1,
  ln.lty = 1,
  band.alpha = 0.4,
  band.density = NULL,
  band.angle = 45,
  xp.alpha = 0.5,
  xp.lwd = 1,
  xp.lty = 1,
  pch = 19,
  new = TRUE,
  legend = new,
  add.params = FALSE,
  ...
)

Arguments

x

An enve.GrowthCurve object to plot.

col

Base colors to use for the different samples. Can be recycled. By default, grey for one sample or rainbow colors for more than one.

pt.alpha

Color alpha for the observed data points, using col as a base.

ln.alpha

Color alpha for the fitted growth curve, using col as a base.

ln.lwd

Line width for the fitted curve.

ln.lty

Line type for the fitted curve.

band.alpha

Color alpha for the confidence interval band of the fitted growth curve, using col as a base.

band.density

Density of the filling pattern in the interval band. If NULL, a solid color is used.

band.angle

Angle of the density filling pattern in the interval band. Ignored if band.density is NULL.

xp.alpha

Color alpha for the line connecting individual experiments, using col as a base.

xp.lwd

Width of line for the experiments.

xp.lty

Type of line for the experiments.

pch

Point character for observed data points.

new

Should a new plot be generated? If FALSE, the existing canvas is used.

legend

Should the plot include a legend? If FALSE, no legend is added. If TRUE, a legend is added in the bottom-right corner. Otherwise, a legend is added in the position specified as xy.coords.

add.params

Should the legend include the parameters of the fitted model?

...

Any other graphic parameters.

Value

No return value.

Author(s)

Luis M. Rodriguez-R [aut, cre]


enveomics.R documentation built on April 13, 2022, 5:10 p.m.