postRxData {medAdherence} | R Documentation |
postRxData
function further prepares the data for medical adherence calculation.
postRxData(df=data)
df |
a dataframe created by preData funtion |
Xiangyang Ye, Pharmacotherapy Outcomes Research Center, University of Utah
cmos <- rxExampledt() predt <- preRxData(df=cmos,id=ptid,rxDate=rxDay,daySupply=supplies) postRxData(predt)