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

Description Usage Arguments Value Examples

View source: R/3b_outcome_analysis_functions.R

Description

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

Usage

1
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

1
2
3
datafile <- system.file("extdata", "trial_data.csv", package = "packDAMipd")
trial_data <- load_trial_data(datafile)
value_Shows_IPD(trial_data, "qsy", NA)

packDAMipd documentation built on March 3, 2021, 5:07 p.m.