- Add footer.html
- Release period_change examples
- Fix typo in create_period_scatter
- Add non-vignette articles to .Rbuildignore
This commit is contained in:
Martin Chan 2020-11-19 15:44:30 +00:00
Родитель 04970c73a6
Коммит 1450169039
6 изменённых файлов: 31 добавлений и 27 удалений

Просмотреть файл

@ -11,4 +11,6 @@
^pkgdown$
^\.github$
^man/figures/wpa cheatsheet_20201116.pdf$
^man/figures/wpa cheatsheet_20201116.png$
^man/figures/wpa cheatsheet_20201116.png$
^vignettes/best-practices.Rmd$
^vignettes/text-mining-capabilities.Rmd$

Просмотреть файл

@ -49,7 +49,7 @@
#'
#' ## Return a summary table
#' create_period_scatter(sq_data, before_end = "2019-12-31", return = "table")
#' }
#'
#'
#' @export
create_period_scatter <- function(data,

Просмотреть файл

@ -28,17 +28,18 @@
#' @importFrom stats wilcox.test
#'
#' @examples
#' \dontrun{
#' ## Run plot
#' period_change(sq_data, compvar = "Workweek_span", before_end = "2019-11-16")
#'
#' ## Run plot with more specific arguments
#' period_change(sq_data,
#' compvar = "Workweek_span",
#' before_start = "2019-11-03",
#' before_end = "2019-11-16",
#' after_start = "2019-12-03",
#' after_end = "2019-12-16",
#' return = "percentage")
#' }
#' compvar = "Workweek_span",
#' before_start = "2019-11-03",
#' before_end = "2019-11-16",
#' after_start = "2019-12-03",
#' after_end = "2019-12-16",
#' return = "percentage")
#'
#' @family Flexible Input
#' @export

Просмотреть файл

@ -1,6 +1,7 @@
template:
params:
bootswatch: cosmo
path: "inst/pkgdown"
navbar:
structure:

Просмотреть файл

@ -60,18 +60,17 @@ This is a general purpose function that powers all the functions
in the package that produce faceted scatter plots.
}
\examples{
\dontrun{
## Return a plot
create_period_scatter(sq_data,
hrvar = "LevelDesignation",
before_start = "2019-11-03",
before_end = "2019-12-31",
after_start = "2020-01-01",
after_end = "2020-01-26")
hrvar = "LevelDesignation",
before_start = "2019-11-03",
before_end = "2019-12-31",
after_start = "2020-01-01",
after_end = "2020-01-26")
## Return a summary table
create_period_scatter(sq_data, before_end = "2019-12-31", return = "table")
}
}
\seealso{

Просмотреть файл

@ -38,17 +38,18 @@ This function also presents the p-value for the null hypothesis
that the variable has not changed, using a Wilcox signed-rank test.
}
\examples{
\dontrun{
## Run plot
period_change(sq_data, compvar = "Workweek_span", before_end = "2019-11-16")
## Run plot with more specific arguments
period_change(sq_data,
compvar = "Workweek_span",
before_start = "2019-11-03",
before_end = "2019-11-16",
after_start = "2019-12-03",
after_end = "2019-12-16",
return = "percentage")
}
compvar = "Workweek_span",
before_start = "2019-11-03",
before_end = "2019-11-16",
after_start = "2019-12-03",
after_end = "2019-12-16",
return = "percentage")
}
\seealso{
Other Flexible Input: