assign_to_condition: Assign a table of applicants imported with...

View source: R/assign_exact.R

assign_to_conditionR Documentation

Assign a table of applicants imported with read_applicant_file()

Description

Assign a table of applicants imported with read_applicant_file()

Usage

assign_to_condition(
  applicants,
  n_offers_by_program = list(),
  seed,
  browse = FALSE
)

Arguments

n_offers_by_program

Controls the program-specific number of offers for the cohort of applicants being assigned, in the form ⁠list(<program_short> = <number_of_offers>)⁠. For example, in the first assignment round, we were required to assign 217 JITA applicants and 155 JDA applicants to the treatment group. In this case, n_offers_by_program = list(JITA = 217, JDA = 155)


context-dependent/npowerassignment documentation built on April 19, 2024, 2 a.m.