This commit is contained in:
Martin Chan 2021-08-25 15:44:28 +01:00
Родитель 8fc85b4ec7
Коммит 98c9c9af9c
4 изменённых файлов: 16 добавлений и 16 удалений

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

@ -73,9 +73,9 @@
#' @param active_threshold A numeric value specifying the minimum number of
#' signals to be greater than in order to qualify as _active_. Defaults to 0.
#'
#' @param start_hour A character vector specifying starting hours, e.g. "0900"
#' @param start_hour A character vector specifying starting hours, e.g. `"0900"`
#'
#' @param end_hour A character vector specifying end hours, e.g. "1700"
#' @param end_hour A character vector specifying end hours, e.g. `"1700"`
#'
#' @param return String specifying what to return. This must be one of the
#' following strings:

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

@ -109,8 +109,8 @@
#' @param data A data frame containing data from the Hourly Collaboration query.
#'
#' @param hrvar A string specifying the HR attribute to cut the data by.
#' Defaults to NULL. This only affects the function when "table" is returned,
#' and is only applicable for method = "bw".
#' Defaults to `NULL`. This only affects the function when `"table"` is
#' returned, and is only applicable for `method = "bw"`.
#'
#' @param return String specifying what to return. This must be one of the
#' following strings:
@ -124,12 +124,12 @@
#' See `Value` for more information.
#'
#' @param method String to pass through specifying which method to use for
#' classification. By default, a binary week-based (bw) method is used, with
#' options to use the the person-average volume-based (pav) method.
#' classification. By default, a binary week-based (`bw`) method is used, with
#' options to use the the person-average volume-based (`pav`) method.
#'
#' @param values Only valid if using `pav` method. Character vector to specify
#' whether to return percentages or absolute values in "data" and "plot".
#' Valid values are "percent" (default) and "abs".
#' whether to return percentages or absolute values in `"data"` and `"plot"`.
#' Valid values are `"percent"` (default) and `"abs"`.
#'
#' @param signals Character vector to specify which collaboration metrics to
#' use:

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

@ -28,9 +28,9 @@ a combination of the two \code{c("email", "IM")} (default).}
\item{active_threshold}{A numeric value specifying the minimum number of
signals to be greater than in order to qualify as \emph{active}. Defaults to 0.}
\item{start_hour}{A character vector specifying starting hours, e.g. "0900"}
\item{start_hour}{A character vector specifying starting hours, e.g. \code{"0900"}}
\item{end_hour}{A character vector specifying end hours, e.g. "1700"}
\item{end_hour}{A character vector specifying end hours, e.g. \code{"1700"}}
\item{return}{String specifying what to return. This must be one of the
following strings:

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

@ -21,12 +21,12 @@ workpatterns_classify(
\item{data}{A data frame containing data from the Hourly Collaboration query.}
\item{hrvar}{A string specifying the HR attribute to cut the data by.
Defaults to NULL. This only affects the function when "table" is returned,
and is only applicable for method = "bw".}
Defaults to \code{NULL}. This only affects the function when \code{"table"} is
returned, and is only applicable for \code{method = "bw"}.}
\item{values}{Only valid if using \code{pav} method. Character vector to specify
whether to return percentages or absolute values in "data" and "plot".
Valid values are "percent" (default) and "abs".}
whether to return percentages or absolute values in \code{"data"} and \code{"plot"}.
Valid values are \code{"percent"} (default) and \code{"abs"}.}
\item{signals}{Character vector to specify which collaboration metrics to
use:
@ -56,8 +56,8 @@ signals to be greater than in order to qualify as \emph{active}. Defaults to 0.
Only applicable for the binary-week method.}
\item{method}{String to pass through specifying which method to use for
classification. By default, a binary week-based (bw) method is used, with
options to use the the person-average volume-based (pav) method.}
classification. By default, a binary week-based (\code{bw}) method is used, with
options to use the the person-average volume-based (\code{pav}) method.}
\item{return}{String specifying what to return. This must be one of the
following strings: