postRxData {medAdherence}R Documentation

Second Data Preparation

Description

postRxData function further prepares the data for medical adherence calculation.

Usage

postRxData(df=data)

Arguments

df a dataframe created by preData funtion

Author(s)

Xiangyang Ye, Pharmacotherapy Outcomes Research Center, University of Utah

Examples

cmos <- rxExampledt()
predt <- preRxData(df=cmos,id=ptid,rxDate=rxDay,daySupply=supplies)
postRxData(predt)

[Package medAdherence version 1.02 Index]