Rachel Hencher & Yi Ren
The purpose of this repository is to store the files related to ST 558 Project 3, as well as to record the history of our work for the assignment. The overall goal of the project was to read in and analyze an online news popularity data set from Mashable in order to create predictive models for the number of article shares. Markdown reports were automated for each of the six channels of interest and can be found linked below.
library(readr)
library(dplyr)
library(knitr)
library(caret)
library(ggplot2)
library(GGally)
library(ggpubr)
library(rmarkdown)
channel <- c("Lifestyle", "Entertainment", "Business", "SocialMedia", "Technology", "World")
report <- function(channel){
render("Project3.Rmd",
params = list(channel = channel),
output_file = paste0(channel, ".md"))
}
lapply(channel, report)
- The analysis for Lifestyle articles.
- The analysis for Entertainment articles.
- The analysis for Business articles.
- The analysis for Social Media articles.
- The analysis for Technology articles.
- The analysis for World articles.