plotModel: plotModel

View source: R/deconvTools.R

plotModelR Documentation

plotModel

Description

plotModel plots the model along with the resulting voigt functions from deconvolution

Usage

plotModel(
  spec,
  model,
  exclude_zones = NULL,
  labels = c("ppm", "id"),
  groups = NULL,
  tags = FALSE,
  xlab = "",
  ylab = "",
  title = "",
  grp_colors = NULL
)

Arguments

spec

a 'spec' object (see readSpectrum, Spec1rDoProc)

model

a 'model' object (see specDeconv, peakOptimize, GSDeconv, LSDeconv)

exclude_zones

a list of vector defining the excluded zones for lorentzian plots

labels

choose as legend labels either 'ppm' or 'id'

tags

boolean allowing you to put identification tags at the top of each peak

title

title of the graphic

grp_colors

specifies the colors for the first groups and/or peaks


INRA/Rnmr1D documentation built on April 13, 2025, 10:54 p.m.