predict_df_continuous {graphPAF} | R Documentation |
Internal: Create a data frame for predictions (when risk factor is continuous).
Description
Internal: Create a data frame for predictions (when risk factor is continuous).
Usage
predict_df_continuous(riskfactor, q_val, risk_q, data)
Arguments
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 |
Value
A data frame where the distribution continuous risk factor so at an individual level, risk is at the q_val-quantile or below
[Package graphPAF version 2.0.0 Index]