Skip to content

Commit

Permalink
Minor improvements to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisp committed Oct 10, 2016
1 parent 98cf464 commit 2bc549f
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 4 deletions.
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# NEWS for ggseas

## 0.5.1
* Minor improvements to documentation eg giving the vignette a title.

## 0.5.0
* ggsdc gets a facet.titles argument
* ggsdc will now work with tibbles
* when a colour is maped to a variable that is a factor, ggsdc will now preserve the ordering of levels in that factor for drawing legends etc
* added a vignette

## 0.4.0
* Seasonal adjustment functions will estimate frequency and (for X13 related purposes) start from the data if possible. If the x variable is a Date rather than numeric, user still needs to provide start and frequency.
Expand Down
2 changes: 1 addition & 1 deletion pkg/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ggseas
Title: 'stats' for Seasonal Adjustment on the Fly with 'ggplot2'
Version: 0.5.0
Version: 0.5.0.9000
Authors@R: c(
person("Peter", "Ellis", , "peter.ellis2013nz@gmail.com", c("aut", "cre")),
person("Christophe", "Sax", role = "ctb")
Expand Down
14 changes: 14 additions & 0 deletions pkg/R/ggseas.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Seasonal decomposition on the fly
#'
#' ggseas allows you to perform seasonal decomposition on the fly as part of a `ggplot2` pipeline.
#'
#' Two main sets of functions are provided:
#'
#' \itemize{
#' \item{\code{stat_seas()}, \code{stat_stl()} and friends do seasonal adjustment, indexing, rolling averages and by default render a line geom.
#' You can consider these as taking the place of \code{geom_line()} in the ggplot2 pipeline}
#' \item{\code{ggsdc()} goes where \code{ggplot()} normally does (ie at the beginning of the pipeline) and creates a graphic with four facets for the original data, trend, seasonal and random components}
#'
#' }
#'
"_PACKAGE"
2 changes: 0 additions & 2 deletions pkg/R/misc_doc.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@





#' New Zealand Balance of Payments major components 1971Q2 to 2015Q2
#'
#' New Zealand's "BPM6 Quarterly, Balance of payments major components (Qrtly-Mar/Jun/Sep/Dec)".
Expand Down
21 changes: 21 additions & 0 deletions pkg/man/ggseas-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/vignettes/ggsdc.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: "Peter Ellis"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteIndexEntry{ggsdc - seasonal decomposition on the fly}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down

0 comments on commit 2bc549f

Please sign in to comment.