Publications by Karlerik Naslund
Texas Voter Turnout and Poverty
library(tibble) library(ggplot2) library(readxl) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1...
292 sym R (4648 sym/36 pcs) 2 img
Cheat Sheet
library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5.1 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1.3.1...
7718 sym R (8640 sym/70 pcs) 11 img
how_to_write_PAD6833
Title Page Self-explanatory. Include your name, my name, the course (PAD 6833), the university, the semester and a title. Even “Research Paper” is a good title. Abstract Give me a one-paragraph summary of your research and your preliminary findings. Here is the abstract from my capstone paper: Charter schools are theorized to have fundament...
4164 sym
Homework 7
library(tibble) library(ggplot2) library(readxl) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1...
95 sym R (3237 sym/29 pcs) 1 img
Regression and Tests Cheat Sheet
library(tidyverse) ## -- Attaching core tidyverse packages ------------------------ tidyverse 2.0.0 -- ## v dplyr 1.1.4 v readr 2.1.5 ## v forcats 1.0.0 v stringr 1.5.1 ## v ggplot2 3.5.1 v tibble 3.2.1 ## v lubridate 1.9.3 v tidyr 1.3.1 ## v purrr 1.0.2 ## -- Conflicts ---------------------------...
3007 sym R (4199 sym/31 pcs)
Homework6
library(tibble) library(ggplot2) library(readxl) read_excel("TexasCountyPoverty.xlsx") ## # A tibble: 7 × 4 ## `Label (Grouping)` Population for whom …¹ pct_decimal county_vote_turnout …² ## <chr> <dbl> <dbl> <dbl> ## 1 Bexar County, Texas… 0.157 0.157...
272 sym R (2097 sym/10 pcs) 2 img
Homework4
library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5.1 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 ✔ tidyr 1.3.1...
97 sym R (1268 sym/8 pcs) 2 img
CruzDatasetWORKS!
AustinVoters <- read.csv("VotersAustin.csv") summary(AustinVoters$"Voter_Turnout") ## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 0.0000 0.4467 0.5271 0.5165 0.5941 0.7392 hist(AustinVoters$Voter_Turnout) plot(AustinVoters$Precinct,AustinVoters$Voter_Turnout) cor(AustinVoters$Precinct,AustinVoters$Voter_Turnout) ## [1] 0.02596798...
12 sym 2 img
Homework2
wd<-getwd() cars<-read.csv("cars_data.csv") mean(cars $mpg) ## [1] 20.09062 min(cars$mpg) ## [1] 10.4 max(cars$mpg) ## [1] 33.9 length(cars$mpg) ## [1] 32...
12 sym
AnthonyCruzPAD6833Homework1
When you make an Rmarkdown file, always keep this chunk: lets also load tidyverse library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplo...
5176 sym R (2437 sym/58 pcs) 5 img