generated from jtr13/bookdown-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
офьуылфу
committed
Feb 2, 2024
1 parent
d17c603
commit 5c2901c
Showing
1 changed file
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
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--> | ||
|