calc_part: Calculate participants: return list of length 2...

Description Usage Arguments See Also

View source: R/dashboard-metrics.R

Description

Calculate participants: return list of length 2 (participants, residents)

Usage

1
2
3
4
5
6
7
8
calc_part(
  history,
  segs,
  tests,
  scaleup_test,
  res_type = NULL,
  use_recruits = FALSE
)

Arguments

history

data frame: input history table for permission

segs

character: vector of segment names to summarize

tests

test values to pass to participants & churn calculation

scaleup_test

test values to pass to scaleup_part()

res_type

identifies residency specific permissions ("Resident", "Nonresident", NULL)

use_recruits

logical: if TRUE, filter the history table with history$R3 == "Recruit"

See Also

Other dashboard functions: calc_metrics(), calc_part_rate(), calc_priv_rate(), est_month(), est_pop(), est_rate(), fill_missing_months(), format_metrics(), write_dash()


southwick-associates/sadash documentation built on Jan. 6, 2022, 5:17 p.m.