Learn R Programming

packDAMipd (version 0.2.0)

value_Shows_IPD: Function to estimate the cost of tablets taken (from IPD)

Description

Function to estimate the cost of tablets taken (from IPD)

Usage

value_Shows_IPD(ind_part_data, shows_related_words, shows_nrcode)

Arguments

ind_part_data

a dataframe containing IPD

shows_related_words

a dataframe containing IPD

shows_nrcode

non response code for ADL, default is NA

Value

sum of scores, if success -1, if failure

Examples

Run this code
# NOT RUN {
datafile <- system.file("extdata", "trial_data.csv", package = "packDAMipd")
trial_data <- load_trial_data(datafile)
value_Shows_IPD(trial_data, "qsy", NA)
# }

Run the code above in your browser using DataLab