Description Usage Arguments Value
This is a function converting the decision tree model exported from AMUA. It is required to run 'parse_amua_tree()' first before running this function.
1 | dectree_convert(params_basecase, treefunc, popsize = 1)
|
params_basecase |
A list of parameters with the basecase values. The list should be organized as 'list(par1 = 0.5, par2 = 0.2)' with the parameter names and values. For the AMUA decision tree model, this argument is the 1st output of 'parse_amua_tree()'. |
treefunc |
Text data of the AMUA decision model. This argument is the 2nd output of 'parse_amua_tree()'. |
popsize |
The population size of the decision problem. The default is 1. |
The function returns a 'data.frame' with the strategy name as the first column and the expected effectiveness and cost are in the following columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.