Comparing changes
Open a pull request
- 3 commits
- 4 files changed
- 0 comments
- 1 contributor
When series_lenght = 25, get_difference() finds a narrower difference since there are less points in the series.
- +4 −2 DESCRIPTION
- +7 −0 NEWS.md
- +2 −2 R/functions.R
- +1 −1 README.md
| @@ -1,12 +1,14 @@ | ||
| Package: tidymv | ||
| Type: Package | ||
| Title: Tidy Model Visualisation | ||
| Version: 1.5.0 | ||
| Date: 2018-08-11 | ||
| Version: 1.5.1 | ||
| Date: 2018-08-18 | ||
| 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. | ||
| URL: https://github.com/stefanocoretta/tidymv | ||
| BugReports: https://github.com/stefanocoretta/tidymv/issues | ||
| License: MIT + file LICENSE | ||
| Encoding: UTF-8 | ||
| LazyData: true | ||
| @@ -1,5 +1,12 @@ | ||
| # Change Log | ||
|
|
||
| ## [1.5.1] - 2018-08-18 | ||
| ### Added | ||
| - URL and BugReports in DESCRIPTION | ||
|
|
||
| ### Changed | ||
| - `series_length` default to 100 in `plot_difference()` | ||
|
|
||
| ## [1.5.0] - 2018-08-11 | ||
| ### Added | ||
| - `plot_difference()` to plot difference smooths | ||
| @@ -404,7 +404,7 @@ plot_gamsd <- function(model, view, comparison, conditions = NULL, rm_re = FALSE | ||
| #' @param conditions A named list specifying the levels to plot from the model terms not among \code{time_series} or \code{difference}. Notice the difference with \link[tidymv]{plot_smooths}, which uses \link[rlang]{quos}. | ||
| #' | ||
| #' @export | ||
| plot_difference <- function(model, time_series, difference, conditions = NULL, series_length = 25) { | ||
| plot_difference <- function(model, time_series, difference, conditions = NULL, series_length = 100) { | ||
| time_series_q <- dplyr::enquo(time_series) | ||
| time_series_chr <- quo_name(time_series_q) | ||
|
|
||
| @@ -453,4 +453,4 @@ plot_difference <- function(model, time_series, difference, conditions = NULL, s | ||
| geom_hline(yintercept = 0) | ||
|
|
||
| return(diff_plot) | ||
| } | ||
| } | ||
| @@ -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.5.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.5.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)`. | ||