generated from jtr13/bookdown-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bookdownproj.Rmd
74 lines (48 loc) · 1.83 KB
/
bookdownproj.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
---
# Project Biden
Placeholder
## Biden approval chart
## Methodology used by pollsters
## A-list pollsters
<!--chapter:end:index.Rmd-->
# Project Republicans
Placeholder
## National Polling
## States Polling
### Iowa & New Hampshire
### Michigan, Nevada and South Carolina
<!--chapter:end:02-gop.Rmd-->
# Project 2024
Placeholder
## National Polling
## Third Party Spoilers?
<!--chapter:end:03-race.Rmd-->
# Project Dallas Cowboys
<p>
Dallas Cowboys offense play calling
</p>
```{r, dallas_cowboys_23_24, echo=FALSE,results = 'hide', warning = FALSE,message=FALSE, fig.height=5,fig.width=10 ,fig.align = 'center', dpi=1080}
library(cowplot)
library(ggplot2)
library(lubridate)
library(tidyverse)
library(readxl)
library(gridExtra)
cowboys<-read_excel("C:/Users/jenze/Downloads/cowboys.xlsx")
ggplot(cowboys, mapping=aes(x=week, y=difference))+
geom_line(size=2, color='black') +
geom_hline(yintercept = 0, linetype="dashed")+
labs(title = "Dallas Cowboys 2023-24 Season",subtitle = "Rushing vs Passing Attempts",
x="Weeks and PlayOff Game", y="<<||More Passing - More Rushing||>>",
caption = "The cowboys rushed more than passing in week 1 & 2 and then chose passing for the rest of the season\nincluding their playoff game aganist the packers where Dak threw 60 times in their home loss.\njamesstats.github.io/blog")+
theme_bw() +
facet_wrap(~final) +
theme(plot.title = element_text(face = "bold",color="blue"),plot.subtitle = element_text(face = "italic"),
plot.caption = element_text(face = "italic"),strip.text.x.top = element_text(face = "bold"),
axis.text = element_text(face = "bold"),axis.title.y.left = element_text(face = "bold"),
axis.title.x = element_text(face = "italic"))
```
<!--chapter:end:04-cowboys.Rmd-->