Skip to contents

scatterplot for comparing numeric predictions with observations

Usage

scatterplot(df_pred, lines_80perc = FALSE, alpha = 1, pointsize = 1)

Arguments

df_pred

data frame obtained with tidymodels::collect_predictions() with columns Qs_rel and .pred

lines_80perc

logical value; shout 80%-lines be drawn?; default = FALSE

alpha

alpha value for point of colours, default: 1

pointsize

size value for points, default: 1