Publications by Vanita Thompson
DATA 606 HW 5
#Tidying and Transforming Data Loading Libraries library(tidyr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(readr) library(ggplot2) library(s...
217 sym R (7881 sym/34 pcs) 1 img
Project 2a
Loading Libraries library(tidyr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) library(ggthemes) ## Warning: package 'ggthemes' was buil...
680 sym R (8371 sym/23 pcs) 2 img
Project 2b
Objective The goal of this assignment is to give you practice in preparing different datasets for downstream analysis work. I am using data on the cost of some popular WW2 airplanes. Since cost typically declines, I hope to show a decrease in the costs of airplanes overtime. Load the Libraries library(dplyr) library(tidyr) library(magrittr) l...
1044 sym R (19492 sym/13 pcs) 2 img
DATA 607 HW 7
Homework 7 I created three tables containing information on books in three formats: HTML, XML and JSON. Our goal is to load the files into R and parse them, creating dataframes. Load Libraries Load required libraries library(kableExtra) library(readxl) library(XML) A helper function for displaying tables showtable <- function(data, title) { ...
1162 sym R (4226 sym/19 pcs) 4 tbl
DATA 607 Project 4
0.1 Project objectives: Email Classification The goal of this project is to classify email documents as spam(unsolicited) or ham (solicited). I will be using emails from the corpus link found below: here to train and test the model. 0.2 Methodology The spam and ham corpa are downloaded and then loaded into R. The content of each email document i...
3366 sym R (5477 sym/20 pcs) 1 img
Blog 4
library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.0 -- ## v ggplot2 3.3.0 v purrr 0.3.3 ## v tibble 3.0.0 v dplyr 0.8.4 ## v tidyr 1.0.2 v stringr 1.4.0 ## v readr 1.3.1 v forcats 0.5.0 ## -- Conflicts ------------------------------------------ tidyverse_conflicts() -- #...
4232 sym R (5814 sym/42 pcs) 13 img
Blog 3
Data For the scope of the discussion, I have removed the observations that NA values. There are about eleven rows with NA values. #Variables and Description miltcoup - number of successful military coups from independence to 1989 oligarchy - number years country ruled by military oligarchy from independence to 1989 pollib - Political liberaliz...
5202 sym R (4657 sym/9 pcs) 2 img 1 tbl