Dispaly scatterplot of actual vs. predicted values for a regression model.
fdPanelRegressionScatterplot(actual, predicted)
library(flightdeck) fit <- lm(mpg ~ ., data = mtcars) actual <- mtcars$mpg predicted <- predict(fit) if (interactive()){ fdPanelRegressionScatterplot(actual, predicted) %>% fdPreview }