This commit is contained in:
Martin Chan 2021-01-22 17:46:22 +00:00
Родитель 7a9bcff329
Коммит f4975247cb
4 изменённых файлов: 10 добавлений и 11 удалений

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

@ -1,3 +1,4 @@
^.gitignore$
^.*\.Rproj$
^\.Rproj\.user$
^_data$
@ -10,12 +11,10 @@
^_pkgdown\.yml$
^pkgdown$
^\.github$
^man/figures/wpa cheatsheet_20201116.pdf$
^man/figures/wpa cheatsheet_20201116.png$
^man/figures/wpa cheatsheet.pdf$
^man/figures/wpa cheatsheet.png$
^vignettes/best-practices.Rmd$
^vignettes/text-mining-capabilities.Rmd$
^vignettes/IV-report.Rmd$
^vignettes/Change-over-time.Rmd$
^CONTRIBUTORS.svg$
# Ignore all figures
^man/figures
# Ignore all vignettes
^vignettes

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

@ -1,6 +1,6 @@
Package: wpa
Type: Package
Title: Tools for Analysing and Visualising Workplace Analytics data
Title: Tools for Analysing and Visualising Workplace Analytics Data
Version: 1.3.1
Authors@R: c(
person(given = "Martin", family = "Chan", role = c("aut", "cre"), email = "martin.chan@microsoft.com"),

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

@ -1,7 +1,7 @@
#' @title
#' Generate a vector of `n` contiguous colours, as a red-yellow-green palette.
#'
#' @param n the number of colors ( 1) to be in the palette.
#' @param n the number of colors (>= 1) to be in the palette.
#' @param alpha an alpha-transparency level in the range of 0 to 1
#' (0 means transparent and 1 means opaque)
#' @param rev logical indicating whether the ordering of the colors should be reversed.

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

@ -7,7 +7,7 @@
heat_colours(n, alpha, rev = FALSE)
}
\arguments{
\item{n}{the number of colors ( 1) to be in the palette.}
\item{n}{the number of colors (>= 1) to be in the palette.}
\item{alpha}{an alpha-transparency level in the range of 0 to 1
(0 means transparent and 1 means opaque)}