data("GH")
### This loads a structure
STDLAB = c("DONE", "QUIT","zoom out", "zoom in", "Left", "Right", "restore", "Pinfo","WINFO",
"XTR", "SPEC", "SGRAM" ,"WLET", "FILT", "UNFILT", "SCALE", "Postscript")
sel=GH$COMPS=="V"
p = PICK.GEN(GH, sel=sel, STDLAB=STDLAB)
print(p)
p = PICK.GEN(GH, sel=sel, WIN=c(4,14) , STDLAB=c("DONE", "LAME", "DAME"))
print(p)
Run the code above in your browser using DataLab