Description Usage Arguments Value Examples
View source: R/Base_Functions.R
Generate patients based on previous patient-level data on characteristics such as age, sex, Elixhauser risk score, number of diagnoses, etc.
1 | patients_table(ml_data, all_data, npat, initial_infect_pat, model)
|
ml_data |
Data to use in machine-learning algorithm |
all_data |
All patient-level data available |
npat |
Number of patients in the simulation |
model |
Machine-learning model to use |
initial_infected_pat |
Number of initial infected patients in the simulation |
A tibble of patients for use in the simuation; patients generated by multiple other functions in this library
1 | patients <- patients_table(ml_data, all_data, npat, initial_infect_pat, model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.