Comparing changes
Open a pull request
This function returns a dataframe with the predictions based on all the terms of GAM model. The user can specify the terms to exclude (for example, the random effects).
The function has been deprecated for some time, and now it has been removed.👋
- +2 −0 .Rbuildignore
- +2 −0 .gitignore
- +8 −5 DESCRIPTION
- +3 −1 NAMESPACE
- +15 −0 NEWS.md
- +211 −143 R/functions.R
- +8 −0 R/tidymv-defunct.R
- +4 −3 R/tidymv.R
- +3 −3 README.md
- +0 −18 man/create_event_start.Rd
- +28 −0 man/create_start_event.Rd
- +42 −0 man/geom_smooth_ci.Rd
- +7 −0 man/plot_difference.Rd
- +6 −6 man/{plot_gamsd.Rd → plot_gamsd-defunct.Rd}
- +7 −0 man/plot_smooths.Rd
- +41 −0 man/predict_gam.Rd
- +20 −0 man/tidymv-defunct.Rd
- +4 −3 man/tidymv.Rd
- +0 −65 vignettes/plot-gamms.Rmd
- +2 −2 vignettes/plot-smooths.Rmd
- +153 −0 vignettes/predict-gam.Rmd
| @@ -1,3 +1,5 @@ | ||
| ^Meta$ | ||
| ^doc$ | ||
| ^.*\.Rproj$ | ||
| ^\.Rproj\.user$ | ||
| ^NEWS\.md$ |
| @@ -1,3 +1,5 @@ | ||
| Meta | ||
| doc | ||
| .Rproj.user | ||
| .Rhistory | ||
| .RData | ||
| @@ -1,12 +1,13 @@ | ||
| Package: tidymv | ||
| Type: Package | ||
| Title: Tidy Model Visualisation | ||
| Version: 1.5.4 | ||
| Date: 2018-12-05 | ||
| Title: Plotting for generalised additive models | ||
| Version: 2.0.0 | ||
| Date: 2019-01-10 | ||
| Authors@R: person("Stefano", "Coretta", email = paste0("stefano.coretta", "@", "gmail.com"), | ||
| role = c("aut", "cre")) | ||
| Description: This package provides functions for model visualisation using tidy | ||
| tools from the tidyverse. | ||
| Description: This package provides functions for visualising generalised | ||
| additive models and get predicted values using tidy tools from the tidyverse. | ||
| The name stands for TIDY Model Visualisation. | ||
| URL: https://github.com/stefanocoretta/tidymv | ||
| BugReports: https://github.com/stefanocoretta/tidymv/issues | ||
| License: MIT + file LICENSE | ||
| @@ -18,7 +19,9 @@ Imports: cowplot, | ||
| ggplot2, | ||
| itsadug, | ||
| magrittr, | ||
| mgcv, | ||
| rlang, | ||
| tibble, | ||
| tidyr | ||
| Suggests: knitr, | ||
| rmarkdown | ||
| @@ -1,10 +1,12 @@ | ||
| # Generated by roxygen2: do not edit by hand | ||
|
|
||
| export(create_event_start) | ||
| export(create_start_event) | ||
| export(geom_smooth_ci) | ||
| export(get_gam_predictions) | ||
| export(plot_difference) | ||
| export(plot_gamsd) | ||
| export(plot_smooths) | ||
| export(predict_gam) | ||
| importFrom(magrittr,"%>%") | ||
| importFrom(rlang,":=") | ||
| importFrom(rlang,"quo_name") | ||
| @@ -1,5 +1,18 @@ | ||
| # Change Log | ||
|
|
||
| ## [2.0.0] - 2019-01-10 | ||
| ### 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()`) | ||
|
|
||
| ## [1.5.4] - 2018-12-05 | ||
| ### Changed | ||
| - README now uses new `install_github` argument for building vignettes | ||
| @@ -96,6 +109,8 @@ | ||
| - `create_start_event` function | ||
| - `plot_gamsd` function | ||
|
|
||
| [2.0.0]: https://github.com/stefanocoretta/tidymv/compare/v1.5.4...v2.0.0 | ||
| [1.5.4]: https://github.com/stefanocoretta/tidymv/compare/v1.5.3...v1.5.4 | ||
| [1.5.3]: https://github.com/stefanocoretta/tidymv/compare/v1.5.2...v1.5.3 | ||
| [1.5.2]: https://github.com/stefanocoretta/tidymv/compare/v1.5.1...v1.5.2 | ||
| [1.5.1]: https://github.com/stefanocoretta/tidymv/compare/v1.5.0...v1.5.1 | ||