I gave today a talk on one possible way of using R package ‘ooacquire’. I used for the presentation a video with programmed pauses. The pauses are missing from this exported MP4 video file.
The only difference from the version released a year ago is the addition of support for an additional feature and a method: “internal trigger” and method “getLastException”, both seem to be supported by only few spectrometer types.
What a nice Christmas surprise!
‘photobiology’ is one of the nine R packages highlighted by METACRAN today as trending this week.
A new package has been accepted in CRAN. It was developed by Kamil Slowikowski and it defines two new geoms for ggplot2:
geom_label_repel. These geoms work similarly to
geom_label() but they “repel” (move) the text or labels so that they do not overlap and plot a segment joining the label or text to their true location. They work nicely with
stat_valleys() from package
The pdf ggrepel-peaks-example looks better and really shows what can easily be achieved.
library(ggplot) # ver >= 2.0.0
ggplot(sun.spct) + geom_line() +
stat_peaks(span = 11, ignore_threshold = 0.1, pch = 21) +
stat_peaks(span = 11, ignore_threshold = 0.1, geom = “label_repel”,
color = “white”, size = rel(2.5), segment.color = “darkred”) +