View source: R/plotting_functions.R
scatterplot | R Documentation |
scatterplot for comparing numeric predictions with observations
scatterplot(df_pred, lines_80perc = FALSE, alpha = 1, pointsize = 1)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.