The apply function in R is used as a fast and simple alternative to loops. It allows users to apply a function to a vector or data frame by row, by column or to the entire data frame. Below are a few basic uses of this powerful function as well as one of it’s sister functions lapply. There are other functions in the apply family (sapply,...
Tuesday, 24 January 2017
/
Published in
Hillary Clinton,
Data,
Politics,
Donald Trump,
Political Analytics,
Data Science,
2016 Election
There were a lot of predictions from pundits in the lead up to the 2016 Election, many of which predicted a Hillary Clinton victory. We now know that Donald Trump earned the victory with key wins in a handful of surprise swing states. With this still settling in for some, we took a hard look at the data behind his victory and what drove his...
Thursday, 17 November 2016
/
Published in
Data,
Politics,
Analytics,
Political Analytics,
Data Science,
2016 Election,
Polling
This year, the Red Oak Strategic team decided to undertake a new challenge in the world of polling and analytics : conduct a bi-weekly, public, national survey that we would execute and release using the Google Surveys platform. Beginning in August and continuing through the final week of the 2016 election, our partnership with GCS led to the...

Friday, 26 August 2016
/
Published in
Data,
Politics,
Analytics,
Political Analytics,
Data Science,
Predictive Analytics,
2016 Election,
Polling
Political polling faces a crisis of confidence. Major news outlets repeatedly ask “What’s the matter with polling?” after major misses like the Bernie Sanders’s primary upset in Michigan, where he beat Hillary Clinton 50–48 despite the fact that she was leading by up to 20 points in reputable polls. There is, however, hope for a polling...
Recent Posts
-
Business Intelligence Across a Private Equity Portfolio
Background Recognizing an opportunity to expand... -
Data Visualization: Empowering Decision Makers
Time and again, across Red Oak Strategic’s... -
Tracking Coronavirus: Building Parameterized Reports to Analyze Changing Data Sources
The pace of our modern world, and the impressive... -
Draw Rotatable 3D Charts in R Shiny with Highcharts and JQuery
While it might be tempting to liven up a report... -
Customizing Click Events: How to Capture and Store Data from JavaScript Objects in R Variables
Interaction Design for Data Exploration...
Categories
- 2016 Election (6)
- Analytics (11)
- Apache Spark (1)
- Blockchain (1)
- Business Intelligence (1)
- Case Studies (3)
- Code (12)
- Data (14)
- Data Processing (2)
- Data Science (18)
- Data Visualization (8)
- Databases (1)
- Donald Trump (1)
- Excel (1)
- Exploratory Data Science (1)
- Financial Analytics (1)
- Forecasting (1)
- ggplot2 (1)
- h2o (1)
- Highcharts (1)
- Hillary Clinton (1)
- JavaScript (3)
- JQuery (1)
- Machine Learning (3)
- Maps (1)
- Political Analytics (3)
- Politics (7)
- Polling (3)
- Predictive Analytics (3)
- Private Equity (1)
- Python (2)
- Python 3 (1)
- R (10)
- R Shiny (4)
- RegEx (1)
- RShiny (2)
- Sparkling Water (1)
- Time Series (1)
- Tutorial (1)
- Tutorials (8)
- Uber (1)