wpa/man/workpatterns_area.Rd

66 строки
1.9 KiB
Plaintext
Исходник Обычный вид История

2020-10-27 00:21:24 +03:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/workpatterns_area.R
\name{workpatterns_area}
\alias{workpatterns_area}
\title{Create an area plot of emails and IMs by hour of the day}
\usage{
workpatterns_area(
data,
hrvar = "Organization",
mingroup = 5,
return = "plot",
values = "percent",
start_hour = "0900",
end_hour = "1700"
)
}
\arguments{
\item{data}{A data frame containing data from the Hourly Collaboration query.}
\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 to specify what to return.
Valid options include "plot" (default) and "table".
"plot" returns an overlapping area plot.
"table" returns a summary table.}
\item{values}{Character vector to specify whether to return percentages
or absolute values in "data" and "plot". Valid values are "percent" (default)
and "abs".}
\item{start_hour}{A character vector specifying starting hours,
e.g. "0900"}
\item{end_hour}{A character vector specifying starting hours,
e.g. "1700"}
}
\description{
Uses the Hourly Collaboration query to produce an area plot of
Emails sent and IMs sent attended by hour of the day.
}
\examples{
2021-01-15 20:54:56 +03:00
## Return visualization of percentage distribution
2020-10-27 00:21:24 +03:00
workpatterns_area(em_data, return = "plot", values = "percent")
2021-01-15 20:54:56 +03:00
## Return visualization of absolute values
2020-10-27 00:21:24 +03:00
workpatterns_area(em_data, return = "plot", values = "abs")
2021-01-15 20:54:56 +03:00
## Return a table
2020-10-27 00:21:24 +03:00
workpatterns_area(em_data, return = "table")
}
\seealso{
Other Work Patterns:
2021-01-27 19:16:08 +03:00
\code{\link{flex_index}()},
2020-10-27 00:21:24 +03:00
\code{\link{personas_hclust}()},
2021-01-27 19:16:08 +03:00
\code{\link{plot_flex_index}()},
\code{\link{workpatterns_classify_bw}()},
\code{\link{workpatterns_classify_pav}()},
\code{\link{workpatterns_classify}()},
2020-10-27 00:21:24 +03:00
\code{\link{workpatterns_hclust}()}
}
\concept{Work Patterns}