View source: R/PAF_calc_discrete.R
predict_df_discrete | R Documentation |
Internal: Create a data frame for predictions (when risk factor is discrete).
predict_df_discrete(riskfactor, refval, data)
riskfactor |
The name of the risk factor of interest in the dataset |
refval |
The reference value for the risk factor |
data |
A dataframe containing variables used to fit the model |
A data frame where the categorical variable is set to its reference level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.