Draw scatterplot of true vs predicted values of target for training and test data for one model

draw_scatterplot(
  train_observed,
  train_predictions,
  test_observed,
  test_predictions
)

Arguments

train_observed

A vector of true values for training data.

train_predictions

A vector of predicted values for training data.

test_observed

A vector of true values for test data.

test_predictions

A vector of predicted values for test data.