markpeak: Mark peak Marks location of the _first_ spectrum at the data...

Description Usage Arguments Author(s) Examples

View source: R/mark.peak.R

Description

Mark peak

Marks location of the first spectrum at the data point closes to the specified position on the current plot.

Usage

1
markpeak(spc, xpos, col = "red")

Arguments

spc

the hyperSpec object

xpos

position of the peak(s) in current x-axis units

col

color of the markers and text

Author(s)

R. Kiselev

Examples

1
2
plot (chondro [7])
markpeak (chondro [7], 1662)

GegznaV/hyperSpec2 documentation built on Dec. 27, 2019, 9:43 a.m.