Skip to content

Commit

Permalink
graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
khufkens committed Feb 26, 2024
1 parent 70295eb commit a973428
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions vignettes/model_evaluation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,15 @@ df <- data.frame(
flue_predicted = test_results
)
p <- ggplot(df) +
geom_point(
aes(
p <- ggplot(df,aes(
flue,
flue_predicted
),
)) +
geom_abline(slope = 1, intercept = 0) +
geom_point(
alpha = 0.2
) +
geom_smooth(method = lm) +
theme_minimal() +
facet_wrap(~cluster)
Expand Down Expand Up @@ -363,14 +364,15 @@ df <- data.frame(
flue_predicted = test_results
)
p <- ggplot(df) +
geom_point(
aes(
p <- ggplot(df,aes(
flue,
flue_predicted
),
)) +
geom_abline(slope = 1, intercept = 0) +
geom_point(
alpha = 0.2
) +
geom_smooth(method = lm) +
theme_minimal() +
facet_wrap(~cluster)
Expand Down

0 comments on commit a973428

Please sign in to comment.