markpeak {hyperSpec} | R Documentation |
Mark peak Marks location of the first spectrum at the data point closest to the specified position on the current plot.
Description
Mark peak
Marks location of the first spectrum at the data point closest to the specified position on the current plot.
Usage
markpeak(spc, xpos, col = "red")
Arguments
spc |
the |
xpos |
position of the peak(s) in current x-axis units |
col |
color of the markers and text |
Author(s)
R. Kiselev
Examples
plot (chondro [7])
markpeak (chondro [7], 1662)
[Package hyperSpec version 0.100.2 Index]