aphalo / ggpmisc

R package ggpmisc is an extension to ggplot2 and the Grammar of Graphics
https://docs.r4photobiology.info/ggpmisc
94 stars 6 forks source link

Peak fitting and adjust `span` or `ignore_threshold` dynamically to limit the number of peaks #48

Open aphalo opened 9 months ago

aphalo commented 9 months ago

Peak fitting could be useful in some cases. New parameters n.min and n.max could be used to dynamically adjust the span, or the ignore_threshold.