NEWS.md file to track changes to the
package.createAdj() with the {nimble} R
package.autoplot() (the ggplot version of base R’s
plot method) methods added for peri,
third, Cosinor, monthglm,
Monthmean, nsCosinor, and
nonlintest classes. Each returns a ggplot object that can
be extended with + theme_bw(), + labs(), etc.
(#42, #33).plot_circle() and plot_month()
functions return ggplot objects (#42).tidy(), augment(),
and glance() (#39)ciPhase() return data.frame rather than list()
(#43)invyrfraction_chr() and
invyrfraction_num() to avoid specifying
text = TRUE/FALSE, and make function use more explicit,
(#43)peri() return a list with columns peri,
freq_radians (formerly f) and freq_cyclessinusoid() return a tibble(), and made an autoplot
methodwtest() and return a
tibble not a list()nscosinor, now optionally specify year and month
column name, so you don’t need to have columns specifically named “year”
or “month” - they could be “yr”, or “mn” even. #44casecross, now optionally specify date column name,
so you don’t need to have columns specifically named “date”. #44plot argument of peri() and
third() is soft-deprecated. These functions now always
return a classed object ("peri", "third"); use
autoplot() to draw the plot. Passing
plot = FALSE is also deprecated — just drop the argument
(#33).plot.Cosinor(), plot.monthglm(),
plot.Monthmean(), plot.nsCosinor(), and
plot.nonlintest() are soft-deprecated in favour of
autoplot() methods. The base R / ggplot output of the
deprecated plot() methods is unchanged — only the
recommended path has moved.plot argument of plot.nonlintest() is
soft-deprecated.plotCircle() and plotMonth() are
soft-deprecated in favour of new ggplot-returning
plot_circle() and plot_month(). The deprecated
functions continue to produce their existing output until removal.All deprecated paths emit a one-time warning per session pointing at the replacement.
monthmean() argument, adjmonth must be one
of “none” (default), “thirty”, or “average”, rather than: FALSE,
“thirty”, or “average”.createAdj() argument, filepath has been
removed, as it is no longer required.casecross() argument, usefinalwindow now
defaults to TRUE, not FALSE.