A light wrapper around impute_qty.
decision_2(data, decision = "a")a data frame
one of the following strings:
Leave as missing (implicitly drop this prescription)
set to mean for individual's prescriptions for that drug
set to mean for practice's prescriptions for that drug
set to mean for populations's prescriptions for that drug
set to median for individual's prescriptions for that drug
set to median for practice's prescriptions for that drug
set to median for population's prescriptions for that drug
set to mode for individual's prescriptions for that drug
set to mode for practice's prescriptions for that drug
set to mode for population's prescriptions for that drug
use value of individual's next prescription
use value of practice's next prescription
use value of population's next prescription
use value of individual's previous prescription
use value of practice's previous prescription
use value of population's previous prescription
Other decision functions:
decision_10(),
decision_1(),
decision_3(),
decision_4(),
decision_5(),
decision_6(),
decision_7(),
decision_8(),
decision_9(),
drug_prep()