- Deprecate package and add superseded badge to all functions (closes #23).
-
Use Roxygen 7.2.1.
-
Fix errors on CRAN.
- tidymv will soon be deprecated, in favour of tidygam (https://github.com/stefanocoretta/tidygam). While development for tidygam is in progress, a notice of intention to deprecate is printed when the package is attached, so that users are warned.
-
Updated renv and packages.
-
Updated GitHub Action for pkgdown.
- Zenodo DOI in Readme.
predict_gam()
now has the extra argumenttype
, which allows the user to return the predicted values based on all terms or based on each term separately.
-
Use renv for development.
-
@return
roxygen entry added to all functions documentation. -
ci_z
argument inplot_difference()
.
- The output of
get_smooths_difference()
now includes agroup
column with a numeric index of significance blocks, so that plotting difference smooths with more than two alternating significance values is correct (seeplot-smooths
vignette, last example).
-
✨ -
get_smooths_difference()
which returns a tibble with the difference of two levels of a smooth (#11). -
🍇 -
plot-smooths.Rmd
now includes a plotting example withget_smooths_difference()
. -
👷 - Add GitHub actions for R CMD check.
-
🖼 - Add logo!
- ⬆️ - Use tidy evaluation.
- 🔥 - Travis CI has been removed (now use GitHub Actions).
-
reintroduced
plot_difference()
. -
imported code from itsadug for better integration with
plot_difference()
and compatibility with R 3.6.1. -
🍇 include example of
get_gam_predictions()
in plot smooths vignette.
get_gam_predictions()
now returns an.idx
column which assigns a number to each curve (when multiple variables are used). The.idx
column can be used to correctly groupgeom_ribbon()
for plotting CIs.
⚠️ BREAKING CHANGE!!! removeplot_difference()
due to the archiving of itsadug. To plot difference smooths, you can usemgcViz::plotDiff()
.
-
prevent error from
dplyr::lag()
when type of default is different (prepare for upcoming dplyr 1.0.0) -
roxygen version 7.1.0
-
transform
argument inget_gam_predictions()
andplot_smooths()
(closes https://github.com/stefanocoretta/tidymv/issues/9) -
exlude_random
argument inplot_difference()
(it wasTRUE
by default and it was not possible to change it) -
error message in
get_gam_predictions
when using discretised bam models andexclude_random = TRUE
(which is the default) -
two example datasets to be used in the examples
-
example of non-Gaussian GAM in
plot*smooths
vignette -
support for models with non*syntactic column names (
log(y) ~ s(log(x))
)
-
add option of setting values to
NULL
inpredict_gam()
when excluding terms to reduce computation time (also mentioned in the vignette) -
improved performance of
get_gam_predictions()
when excluding terms -
included mention to loaded packages in the vignettes
-
wrong examples in
plot_smooths()
andplot_difference()
(closes https://github.com/stefanocoretta/tidymv/issues/10) -
handling of
s(bs = "re")
smooths
- import from cowplot (the function that required it has been removed)
- examples in documentation for all functions
-
alpha of 0 line in difference smooth plot (now set to 0.5)
-
prepared for CRAN first release
- missing import in
plot_difference()
⚠️ time_series
is now deprecated and replaced withseries
.time_series
will be removed in future releases.
-
predict_gam()
to return a dataframe with all predictors and fitted values with standard error -
geom_smooth_ci()
which provides a newggplot2
geom
to conveniently plot smooths and confidence intervals from the output ofpredict_gam()
-
vignette that illustrates how to use the new functions
-
examples in the documentation
- name, arguments, and output of
create_event_start()
(>create_start_event()
, it breaks backward compatibility)
plot_gamsd()
(useplot_smooths()
andplot_difference()
)
- README now uses new
install_github
argument for building vignettes
- plot difference smooth in vignette
- added deprecated notice in vignette
- error with updated
rlang
- URL and BugReports in DESCRIPTION
series_length
default to 100 inplot_difference()
-
plot_difference()
to plot difference smooths -
support for plotting single smooth
- deprecated message with
plot_gamsd()
now mentionsplot_difference()
- vignettes titles and plots
-
split
argument for separating columns (useful for interactions) -
how to plot interactions in vignette
-
exclude_terms
argument to exclude terms when predicting -
exclude
tensor.smooths
when plotting smooths -
experimental
ylim
argument toplot_gamsd()
- message in
plot_gamsd()
which said "will be deprecated"
- warning in
get_gam_predictions()
-
get_gam_predictions()
for predicting with agam
object -
plot_smooths()
for plotting smooths -
plot*smooths.Rmd
vignette -
support for models with smooths with terms not in
time_series
-
typo in documentation of
create_event_start()
-
double call of
itsadug
in DESCRIPTION -
note about
lag
on check -
note about non*imported
itsadug
-
incompatibility with
rlang@v0.2.0
plot_gamsd()
will be deprecated: useplot_smooths
instead. Plotting both smooths and difference smooth is not supported yet.
-
rm_re
parameter for removing random effects inplot_gamsd
-
depends on
itsadug
- argument
event.col
toevent_col
increate_start_event()
for style consistency
- black and white option for
plot_gamsd()
-
gam
model in the vignette now has a reference smooths(x2)
-
updated vignette
- documentation of package
- use
lag()
forcreate_event_start()
- error in
plot_gamsd
about missing xmin and xmax in annotate if there is no difference
-
create_start_event
function -
plot_gamsd
function