wpa/R/one2one_trend.R

42 строки
1.2 KiB
R
Исходник Обычный вид История

# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
2020-10-27 00:21:24 +03:00
#' @title Manager 1:1 Time Trend
#'
#' @description
#' Provides a week by week view of scheduled manager 1:1 Time. By default
#' returns a week by week heatmap, highlighting the points in time with most
#' activity. Additional options available to return a summary table.
2020-10-27 00:21:24 +03:00
#'
#' @details
#' Uses the metric `Meeting_hours_with_manager_1_on_1`.
2020-10-27 00:21:24 +03:00
#'
#' @inheritParams create_trend
#' @inherit create_trend return
2020-10-27 00:21:24 +03:00
#'
#' @family Visualization
2020-10-27 00:21:24 +03:00
#' @family Managerial Relations
#'
#'
#' @export
one2one_trend <- function(data,
hrvar = "Organization",
mingroup = 5,
return = "plot"){
2020-10-27 00:21:24 +03:00
create_trend(data,
metric = "Meeting_hours_with_manager_1_on_1",
hrvar = hrvar,
mingroup = mingroup,
return = return)
2020-10-27 00:21:24 +03:00
}