rxEampledt {medAdherence}R Documentation

Sample Dataset Creation

Description

A sample dataset with 3 patients, 4 variables,14 records will be created by this function.

Usage

rxExampledt()

Format

A data frame with 14 observations on the following 4 variables will be created.

ptid
a numeric vector
rxdate
a character vector, prescription refill date
supplies
a numeric vector
rxDay
a numeric vector, prescription refill date

Examples

 
cmos <- rxExampledt()
cmos

[Package medAdherence version 1.02 Index]