View source: R/RPT_plot_pred.R
RPT_plot_pred | R Documentation |
This function is used to visualize the result of prediction and judgment.
RPT_plot_pred( data_wider, x = Z_acd_score, y = wt_sum_predict, color = judgment, r2 = RPT_r2(Curr_mod, adj = TRUE) )
data_wider |
Data.frame, which each row contains all the observations of a single person. |
x, y |
Unquoted expression, colname of the observation value |
color |
Unquoted expression, colname of the potential judgment, default judgment |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.