powered by
Mark peak
Marks location of the first spectrum at the data point closes to the specified position on the current plot.
markpeak(spc, xpos, col = "red")
the hyperSpec object
hyperSpec
position of the peak(s) in current x-axis units
color of the markers and text
# NOT RUN { plot (chondro [7]) markpeak (chondro [7], 1662) # }
Run the code above in your browser using DataLab