Skip to contents

make_metric_vars() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make metric variables. The function returns Metric variables (a character vector).

Usage

make_metric_vars(
  type_1L_chr = c("main", "all", "eoc"),
  appointments_var_1L_chr = "Appointments",
  cancellations_var_1L_chr = "Cancellations",
  cost_var_1L_chr = "Cost",
  referrals_var_1L_chr = "Referrals",
  separation_after_dbl = numeric(0)
)

Arguments

type_1L_chr

Type (a character vector of length one), Default: c("main", "all", "eoc")

appointments_var_1L_chr

Appointments variable (a character vector of length one), Default: 'Appointments'

cancellations_var_1L_chr

Cancellations variable (a character vector of length one), Default: 'Cancellations'

cost_var_1L_chr

Cost variable (a character vector of length one), Default: 'Cost'

referrals_var_1L_chr

Referrals variable (a character vector of length one), Default: 'Referrals'

separation_after_dbl

Separation after (a double vector), Default: numeric(0)

Value

Metric variables (a character vector)