Skip to contents

Plotting of Fitted Spectral Line

Usage

plotfit(
  data,
  title = NULL,
  pt.size = 3,
  pt.colour = "black",
  pt.shape = 21,
  pt.fill = "black",
  line.size = 1,
  line.colour = "red",
  linetype = "solid",
  resid.shape = 21,
  resid.size = 2,
  resid.fill = "blue",
  resid.colour = "black"
)

Arguments

data

Data to be displayed from the peakfit function

title

Plot title

pt.size

Size of original data point

pt.colour

Colour of original data points

pt.shape

Shape of original data points

pt.fill

Colour fill of original data points

line.size

Size of the fitted data line

line.colour

Colour of the fitted data line

linetype

Type of the fitted data line

resid.shape

Shape of the residuals data points

resid.size

Size of the residuals data points

resid.fill

Colour fill of the residuals data points

resid.colour

Colour of the residuals data points

Value

ggplot2 object

Author

Christian L. Goueguel