R: Visualisation and Verification of Health Economic Decision Models

# Visualisation and Verification of Health Economic Decision Models

## Documentation for package ‘assertHE’ version 1.0.1

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

.called_by | Called By
.parse_function | Parse Function
assertHE_example | Get path to assertHE example
check_init | Check and initialize a vector
check_markov_trace | Check Markov Trace
check_trans_prob_array | Check Transition Probability Array
check_trans_prob_mat | Check Transition Probability Matrix
create_prompt | Create a prompt for a LLM
define_app_server | Create Shiny app server logic
define_app_ui | Create Shiny app UI
extract_function_name | Extract function name from a string
find_files | find_files
find_folder_function_definitions | Creates summary of R files in folder with functions defined within and locations.
find_function_calls_in_file | Find all function calls in file
find_function_calls_in_folder | Find specific function calls in a folder
find_function_definitions | Parses an R source file, returns function names defined within.
find_next_vector_element | Find the next element of the vector after a value
find_previous_vector_element | Find the previous element of the vector before a value
get_active_functions | get all active functions that exist in the global environment
get_file_cheers_classifications | Get cheers classification tags from a given file
get_folder_cheers_classifications | Get cheers classification tags from a given folder
get_foo_coverage | Get coverage by function
get_function_data | Retrieve Function data to a list
get_function_line | Extract function line in file path
get_function_path | Remove artefacts from file path
get_isolated_foo | Get Isolated Functions
get_roxygen_description | Get Title and Description from Parsed List
get_roxygen_description_from_foo | Get roxygen title and description from function
identify_dependencies | Identify Dependencies
locate_funcs | locate_funcs
make_closable_tab | Create closable shiny tab
plotNetwork | Plot Network
plot_PSA_stability | Plot cumulative mean Probabilistic Sensitivity Analysis results
processNodes | Process Nodes
return_message | Extract the content from the output of the LLM
run_shiny_app | Run a Shiny app to host a network visualization
source_funcs | source_funcs
source_lines | source_lines
summarise_function_from_arguments_and_body | Summarise a function from its arguments and body
summarise_function_with_LLM | Summarize a function using a Large Language Model
summarise_model | Summarise the model functions in a single folder.
visualise_project | Visualize Project
wrap_string | Wrap a string to lines of a specified width