Skip to content

Commit 49eaecc

Browse files
committed
increasing plot font size of regression2
1 parent de85809 commit 49eaecc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

regression2.Rmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ print_tidymodels <- function(tidymodels_object) {
2424
}
2525
}
2626
}
27+
28+
theme_update(axis.title = element_text(size = 14)) # modify axis label size in plots
2729
```
2830

2931
## Overview
@@ -297,7 +299,8 @@ lm_plot_final <- ggplot(sacramento_train, aes(x = sqft, y = price)) +
297299
xlab("House size (square feet)") +
298300
ylab("Price (USD)") +
299301
scale_y_continuous(labels = dollar_format()) +
300-
geom_smooth(method = "lm", se = FALSE)
302+
geom_smooth(method = "lm", se = FALSE) +
303+
theme(text = element_text(size = 14))
301304
302305
lm_plot_final
303306
```

0 commit comments

Comments
 (0)