Skip to content

Releases: stefanocoretta/tidymv

v3.4.2

10 May 06:49
Compare
Choose a tag to compare
  • Deprecate package and add superseded badge to all functions (closes #23).

v3.3.2

04 Sep 09:05
Compare
Choose a tag to compare

Developer

  • Use Roxygen 7.2.1.

  • Fix errors on CRAN related to HTML5 checks.

v3.3.1

18 Apr 19:29
Compare
Choose a tag to compare

Intention-to-deprecate notice

  • 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.

Developer

  • Updated renv and packages.

  • Updated GitHub Action for pkgdown.

v3.3.0

18 Apr 19:29
Compare
Choose a tag to compare

Added

  • Zenodo DOI in Readme.

Changed

  • predict_gam() now has the extra argument type, which allows the user to return the predicted values based on all terms or based on each term separately.

v3.2.1

21 Apr 10:07
Compare
Choose a tag to compare

Added

  • Use renv for development.

  • @return roxygen entry added to all functions documentation.

  • ci_z argument in plot_difference().

Changed

  • The output of get_smooths_difference() now includes a group column with a numeric index of significance blocks, so that plotting difference smooths with more than two alternating significance values is correct (see plot-smooths vignette, last example).

tidymv v3.2.0

06 Jan 12:55
Compare
Choose a tag to compare

Added

  • ✨ - 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 with get_smooths_difference().

  • 👷 - Add GitHub actions for R CMD check.

  • 🖼 - Add logo!

Changed

  • ⬆️ - Use tidy evaluation.

Removed

  • 🔥 - Travis CI has been removed (now use GitHub Actions).

tidymv v3.1.0

Added

  • 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.

Changed

  • 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 group geom_ribbon() for plotting CIs.

v3.0.0

25 Apr 18:47
Compare
Choose a tag to compare

3.0.0 - 2020-04-24

Removed

  • ⚠️ BREAKING CHANGE!!! remove plot_difference() due to the archiving of itsadug. To plot difference smooths, you can use mgcViz::plotDiff().

2.2.1 - 2020-04-22

Changed

  • prevent error from dplyr::lag() when type of default is different (prepare for upcoming dplyr 1.0.0)
  • roxygen version 7.1.0

v2.2.0

17 Jun 11:41
Compare
Choose a tag to compare

Added

  • transform argument in get_gam_predictions() and plot_smooths() (closes https://github.com/stefanocoretta/tidymv/issues/9)
  • exlude_random argument in plot_difference() (it was TRUE by default and it was not possible to change it)
  • error message in get_gam_predictions when using discretised bam models and exclude_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)))

Changed

  • add option of setting values to NULL in predict_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

Fixed

Removed

  • import from cowplot (the function that required it has been removed)

v2.1.0

25 Apr 09:58
Compare
Choose a tag to compare

Added

  • examples in documentation for all functions

Changed

  • alpha of 0 line in difference smooth plot (now set to 0.5)
  • prepared for CRAN first release

Fixed

  • missing import in plot_difference()

Deprecated

  • ⚠️ time_series is now deprecated and replaced with series. time_series will be removed in future releases.

v2.0.0

10 Jan 08:21
Compare
Choose a tag to compare

⚠️ This version breaks backward compatibility. Update with care.

Added

  • predict_gam() to return a dataframe with all predictors and fitted values with standard error
  • geom_smooth_ci() which provides a new ggplot2 geom to conveniently plot smooths and confidence intervals from the output of predict_gam()
  • vignette that illustrates how to use the new functions
  • examples in the documentation

Changed

  • name, arguments, and output of create_event_start() (> create_start_event(), it breaks backward compatibility)

Removed

  • plot_gamsd() (use plot_smooths() and plot_difference())