Monthly Archives: November 2016

Daily metric tracking with ggplot2

November 26, 2016
By
Daily metric tracking with ggplot2

In my role I have to produce a lot of run charts and control charts for monthly data, but sometimes there are processes behind the run charts that merit looking at the data on a daily basis. It can become impractical to start producing run c...

Read more »

Can we predict flu deaths with Machine Learning and R?

November 26, 2016
By
Can we predict flu deaths with Machine Learning and R?

Among the many R packages, there is the outbreaks package. It contains datasets on epidemics, on of which is from the 2013 outbreak of influenza A H7N9 in China, as analysed by Kucharski et al. (2014): A. Kucharski, H. Mills, A. Pinsent, C. Fraser,...

Read more »

The Effective Number of Parties in the Electorate by Year and Region

November 26, 2016
By
The Effective Number of Parties in the Electorate by Year and Region

Tasks: Compute the Effective Number of Parties by year and region Using the American National Election Studies, compute the Effective Number of Parties in the electorate across regions and years/waves. The data The data come from The American National Election Studies (ANES). The ANES is a survey that covers voting behavior, public opinion, and political participation. Many other countries have their own...

Read more »

Error, trend, seasonality – ets and its forecast model friends

November 26, 2016
By
Error, trend, seasonality –  ets and its forecast model friends

A broad family of fast and effective forecast methods Exponential smoothing state space methods constitute a broad family of approaches to univariate time series forecasting that have been around for many decades and only in the twenty-first century pl...

Read more »

Learning R programming by reading books: A book list #rstats

November 26, 2016
By
Learning R programming by reading books: A book list #rstats

R is an open-source software package and rapidly increases its popularity in both industry and academics. Google trend is probably the best tool to show you how popular R is since it allows us to rank the search interest among five major statistical so...

Read more »

How to write and document %special% functions in R

November 26, 2016
By

I spend a considerable time of my working hours with data processing where I often use the %in% R function as x %in% y. Whenever I need the negation of that, I used to write !(x %in% y). Not much of a hassle, but still, wouldn’t it be nicer to have x %notin% y instead? So I decided to...

Read more »

Compare Dates With RForcecom

November 25, 2016
By

Have you used RForcecom to connect R to Salesforce? It’s really cool, and thanks to it using Bulk API, it’s absolutely rapid. Anyway, I recently came across a problem when trying to query records which had been edited based o...

Read more »

Deck on an Authorial Analysis of the Prime Minister’s Speeches

November 25, 2016
By

I recently attempted a Stylistic Analysis of the Pakistani Prime Minister’s speeches, in order to identify if his speeches exhibit different Stylistic patterns. Large differences would indicate possibilities of different writers. Background to this ...

Read more »

Some Technical Reading JBR

November 25, 2016
By
Some Technical Reading JBR

.fusion-fullwidth-1 { padding-left: px !important; ...

Read more »

RStudio Server on OS X Sierra

November 25, 2016
By

Motivation I had to install RStudio Server in a computer recently upgraded to OS X Sierra. The steps are the same as in a previous post (RStudio Server on OS X El Capitan ) Homebrew setup If you don't have Homebrew installed you'll need to install it first. In my opinion is it better to install XCode 8 Command Line Tools...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)