Publications by Fran Trejo
Final Paper
library(car) ## Loading required package: carData library(lmtest) ## Loading required package: zoo ## ## Attaching package: 'zoo' ## The following objects are masked from 'package:base': ## ## as.Date, as.Date.numeric library(readr) library(tidyverse) ## ── Attaching core tidyverse packages ───────────�...
138 sym R (45086 sym/123 pcs) 12 img
Final Paper
library(readr) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ purrr 1.0.2 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5.1 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 ✔ tidy...
771 sym R (35837 sym/56 pcs) 5 img
Fran Trejo PAD 6833 Homework 7
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 ## ...
2004 sym R (8703 sym/36 pcs) 5 img
Fran Trejo PAD 6833 Homework 6
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 ## ...
2063 sym R (4049 sym/10 pcs) 1 img
Fran Trejo PAD 6833 Homework 5
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 ## ...
1444 sym R (2082 sym/19 pcs) 1 img
Fran Trejo PAD 6833 Homework 4
From the data you have chosen, select a variable that you are interested in 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...
1185 sym R (2671 sym/21 pcs) 2 img
Research Data Selection - District Hiring and Turnover
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 ## ...
493 sym R (4736 sym/10 pcs) 2 img
Fran Trejo PAD 6833 Homework 3
create an Rmarkdown document with “district” data (like this one) 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 ## ✔ ggp...
1308 sym R (3863 sym/21 pcs) 1 img
Fran Trejo PAD 6833 Homework 2
Here, I imported the cars data. I named the data set “cars”. wd<-getwd() cars<-read.csv("cars_data.csv") Here, I got the column names. colnames(cars) ## [1] "X" "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" ## [11] "gear" "carb" What is the average (mean()) mpg for all cars? mean(cars$mpg) ## [1] 20.09062 What is the min...
300 sym
Fran Trejo PAD 6833 Homework 1
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the...
593 sym 1 img