RPT_plot_pred: Plot the prediction and judgment

View source: R/RPT_plot_pred.R

RPT_plot_predR Documentation

Plot the prediction and judgment

Description

This function is used to visualize the result of prediction and judgment.

Usage

RPT_plot_pred(
  data_wider,
  x = Z_acd_score,
  y = wt_sum_predict,
  color = judgment,
  r2 = RPT_r2(Curr_mod, adj = TRUE)
)

Arguments

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

Value

A ggplot object


Blockhead-yj/report.iqz documentation built on March 18, 2022, 5:30 a.m.