Description Usage Arguments Value See Also Examples
Run drug preparation algorithm
1 |
data |
data frame containing prescription data |
plausible_values |
data frame containing variables |
decisions |
character vector of length 10 |
A data frame including estimated stop_date for each prescription
Other decision functions:
decision_10(),
decision_1(),
decision_2(),
decision_3(),
decision_4(),
decision_5(),
decision_6(),
decision_7(),
decision_8(),
decision_9()
1 2 3 4 5 6 7 8 9 10 11 | plausible_values <- data.frame(
prodcode = c('a', 'b', 'c'),
min_qty = 0,
max_qty = c(50, 100, 200),
min_ndd = 0,
max_ndd = c(10, 20, 30)
)
drug_prep(example_therapy,
plausible_values,
decisions = c('a', 'a', 'a', 'a', 'a',
'c', 'a', 'a', 'a', 'a'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.