View source: R/flag_em_ratio.R
flag_em_ratio | R Documentation |
This function flags persons who have an unusual ratio
of email hours to emails sent. If the ratio between Email Hours and
Emails Sent is greater than the threshold, then observations tied to
a PersonId
is flagged as unusual.
flag_em_ratio(data, threshold = 1, return = "text")
data |
A data frame containing a Person Query. |
threshold |
Numeric value specifying the threshold for flagging. Defaults to 1. |
return |
String specifying what to return. This must be one of the following strings:
See |
A different output is returned depending on the value passed to the return
argument:
"text"
: string. A diagnostic message.
"data"
: data frame. Person-level data with those flagged with unusual
ratios.
Other Data Validation:
check_query()
,
extract_hr()
,
flag_ch_ratio()
,
flag_extreme()
,
flag_outlooktime()
,
hr_trend()
,
hrvar_count()
,
hrvar_count_all()
,
hrvar_trend()
,
identify_churn()
,
identify_holidayweeks()
,
identify_inactiveweeks()
,
identify_nkw()
,
identify_outlier()
,
identify_privacythreshold()
,
identify_shifts()
,
identify_tenure()
,
track_HR_change()
,
validation_report()
flag_em_ratio(pq_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.