зеркало из https://github.com/microsoft/wpa.git
40 строки
1.4 KiB
R
40 строки
1.4 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/afterhours_fizz.R
|
|
\name{afterhours_fizz}
|
|
\alias{afterhours_fizz}
|
|
\title{Distribution of After-hours Collaboration Hours (Fizzy Drink plot)}
|
|
\usage{
|
|
afterhours_fizz(data, hrvar = "Organization", mingroup = 5, return = "plot")
|
|
}
|
|
\arguments{
|
|
\item{data}{A Standard Person Query dataset in the form of a data frame.}
|
|
|
|
\item{hrvar}{HR Variable by which to split metrics. Accepts a character vector, defaults to "Organization" but accepts any character vector, e.g. "LevelDesignation"}
|
|
|
|
\item{mingroup}{Numeric value setting the privacy threshold / minimum group size, defaults to 5.}
|
|
|
|
\item{return}{Character vector specifying what to return, defaults to "plot".
|
|
Valid inputs are "plot" and "table".}
|
|
}
|
|
\description{
|
|
Analyze weekly after-hours collaboration hours distribution, and returns
|
|
a 'fizzy' scatter plot by default.
|
|
Additional options available to return a table with distribution elements.
|
|
}
|
|
\details{
|
|
Uses the metric \code{After_hours_collaboration_hours}.
|
|
See \code{create_fizz()} for applying the same analysis to a different metric.
|
|
}
|
|
\examples{
|
|
afterhours_fizz(sq_data, hrvar = "Organization", return = "table")
|
|
}
|
|
\seealso{
|
|
Other After-Hours:
|
|
\code{\link{afterhours_dist}()},
|
|
\code{\link{afterhours_line}()},
|
|
\code{\link{afterhours_rank}()},
|
|
\code{\link{afterhours_summary}()},
|
|
\code{\link{afterhours_trend}()}
|
|
}
|
|
\concept{After-Hours}
|