Comparing changes
Open a pull request
- 3 commits
- 6 files changed
- 0 comments
- 1 contributor
- +2 −4 DESCRIPTION
- +8 −1 NEWS.md
- +1 −1 R/functions.R
- +1 −1 README.md
- +1 −1 vignettes/plot-gamms.Rmd
- +1 −1 vignettes/plot-smooths.Rmd
| @@ -1,7 +1,7 @@ | ||
| Package: tidymv | ||
| Type: Package | ||
| Title: Tidy Model Visualisation | ||
| Version: 1.3.0 | ||
| Version: 1.3.1 | ||
| 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 | ||
| @@ -13,12 +13,10 @@ RoxygenNote: 6.0.1 | ||
| Imports: cowplot, | ||
| dplyr, | ||
| ggplot2, | ||
| grDevices, | ||
| itsadug, | ||
| magrittr, | ||
| rlang, | ||
| tidyr, | ||
| tidyverse | ||
| tidyr | ||
| Suggests: knitr, | ||
| rmarkdown | ||
| VignetteBuilder: knitr | ||
| @@ -1,5 +1,9 @@ | ||
| # Change Log | ||
|
|
||
| ## [1.3.1] - 2018-02-26 | ||
| ### Fixed | ||
| - warning in `get_gam_predictions()` | ||
|
|
||
| ## [1.3.0] - 2018-02-26 | ||
| ### Added | ||
| - `get_gam_predictions()` for predicting with a `gam` object | ||
| @@ -17,7 +21,7 @@ | ||
| ### Deprecated | ||
| - `plot_gamsd()` will be deprecated: use `plot_smooths` instead. Plotting both smooths and difference smooth is not supported yet. | ||
|
|
||
| ## 1.2.0 - 2017-12-07 | ||
| ## [1.2.0] - 2017-12-07 | ||
| ### Added | ||
| - `rm_re` parameter for removing random effects in `plot_gamsd` | ||
| - depends on `itsadug` | ||
| @@ -48,5 +52,8 @@ | ||
| - `create_start_event` function | ||
| - `plot_gamsd` function | ||
|
|
||
| [1.3.1]: https://github.com/stefanocoretta/tidymv/compare/v1.3.0...v1.3.1 | ||
| [1.3.0]: https://github.com/stefanocoretta/tidymv/compare/v1.2.0...v1.3.0 | ||
| [1.2.0]: https://github.com/stefanocoretta/tidymv/compare/v1.1.0...v1.2.0 | ||
| [1.1.0]: https://github.com/stefanocoretta/tidymv/compare/v1.0.0...v1.1.0 | ||
| [1.0.0]: https://github.com/stefanocoretta/tidymv/compare/v0.1.0...v1.0.0 | ||
| @@ -92,7 +92,7 @@ get_gam_predictions <- function(model, time_series, series_length = 25, conditio | ||
| exclude_smooths <- as.null() | ||
| exclude_terms <- as.null() | ||
| for (smooth in 1:length(model[["smooth"]])) { | ||
| smooth_term <- model[["smooth"]][[smooth]][["term"]] | ||
| smooth_term <- model[["smooth"]][[smooth]][["term"]][[1]] | ||
| if (smooth_term != time_series_name) { | ||
| exclude_terms <- c(exclude_terms, smooth_term) | ||
| smooth_label <- model[["smooth"]][[smooth]][["label"]] | ||
| @@ -4,6 +4,6 @@ This is the repository of the `R` package `tidymv`. This package provides functi | ||
|
|
||
| ## Installation | ||
|
|
||
| To install the package, use `devtools::install_github("stefanocoretta/tidymv@v1.3.0", build_vignettes = TRUE)`. To learn how to use the package, do `vignette("plot-smooths", package = "tidymv")` after the installation. | ||
| To install the package, use `devtools::install_github("stefanocoretta/tidymv@v1.3.1", build_vignettes = TRUE)`. To learn how to use the package, do `vignette("plot-smooths", package = "tidymv")` after the installation. | ||
|
|
||
| If you wish to install the development version, use `devtools::install_github("stefanocoretta/tidymv", build_vignettes = TRUE)`. | ||
| @@ -11,7 +11,7 @@ vignette: > | ||
|
|
||
| ```{r setup, echo=FALSE, include=FALSE} | ||
| knitr::opts_chunk$set(out.width = "300px", fig.align = "center", dpi = 300) | ||
| library(tidyverse) | ||
| library(ggplot2) | ||
| theme_set(theme_bw()) | ||
| library(itsadug) | ||
| library(tidymv) | ||
| @@ -15,7 +15,7 @@ knitr::opts_chunk$set( | ||
| comment = "#>", | ||
| out.width = "300px", fig.align = "center", dpi = 300 | ||
| ) | ||
| library(tidyverse) | ||
| library(ggplot2) | ||
| theme_set(theme_bw()) | ||
| library(itsadug) | ||
| library(tidymv) | ||