View source: R/PAF_calc_continuous.R
predict_df_continuous | R Documentation |
Internal: Create a data frame for predictions (when risk factor is continuous).
predict_df_continuous(riskfactor, q_val, risk_q, data)
riskfactor |
The name of the risk factor of interest in the dataset |
q_val |
The risk quantile to match to |
risk_q |
Estimated risk quantiles |
data |
A dataframe containing variables used to fit the model |
A data frame where the distribution continuous risk factor so at an individual level, risk is at the q_val-quantile or below
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.