Description Usage Arguments Value
This function will perform the calculations of the values for percent med free (on baseline days and therapy days), med response (daily and for every 30 days), percent med free response, med score, med number response (daily and for every 30 days), and med number score
1 | med_calculate(x, n, l, baseline, therapy, patient, mrnumber, type, number)
|
x |
Med load table |
n |
Number that signifies which column number corresponse with the MED_NUMBER_DAY column |
l |
Number that signifies which column number corresponds with the MED_LOAD_DAY column |
baseline |
Subset of load table corresponding with baseline days |
therapy |
Subset of load table corresponding with therapy days |
patient |
Four-letter patient initials |
mrnumber |
Medical record number object |
type |
DAY_TYPE column object |
number |
MED_NUMBER_DAY/MED_LOAD_DAY data frame object |
med response/score calculations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.