.check_df {simulist} | R Documentation |
Check if <data.frame>
defining either age-stratified hospitalisation or
death risk, or defining age structure of population is correct
Description
Check if <data.frame>
defining either age-stratified hospitalisation or
death risk, or defining age structure of population is correct
Usage
.check_df(x, df_type = c("risk", "age"), age_range = NULL)
Arguments
x |
A |
df_type |
A |
age_range |
A |
Value
A <data.frame>
, also called for error side-effects when input is
invalid.
[Package simulist version 0.5.0 Index]