July 2016

A Diversified R in Insurance Conference

July 31, 2016 | 0 Comments

I visited London this month for the first time in many years, having been honored to participate in the fourth annual R in Insurance conference held at the Cass Business School. Mired in the deep rooted polarity of the current American presidential election, this traveler was refreshed and uplifted by ...
[Read more...]

South African Local Government Elections 2016

July 31, 2016 | 0 Comments

A visual comparison of party effort across municipalities / districts. With South Africa’s local government elections in a few days time (3rd August 2016), I wondered about the effort being expended by the parties in each district or municipality. Has it increased or decreased since the 2011 elections? I must point out ... [Read more...]

Visualisation of Likert scale results

July 31, 2016 | 0 Comments

[EDIT: The function now also inludes the possibility to plot the IQR around the median. I shifted the median slightly downwards to prevent the SD and the IQR from overlapping.]I wrote a function to visualise results of Likert scale items. Please find the function below the post. Here is ...
[Read more...]

Visualisation of Likert scale results

July 31, 2016 | 0 Comments

I wrote a function to visualise results of Likert scale items. Please find the function below the post. Here is an example plot:The function is called 'plot.likert' and takes the following arguments:- vec: The vector with the raw results- possible.values: A vector with all the possible ...
[Read more...]

Checking Historical Precipitation Data Quality

July 30, 2016 | 0 Comments

Precipitation Data Quality Concerns I am interested in evaluating potential changes in precipitation patterns caused by climate change. I have been working with daily precipitation data for the Philadelphia International Airport, site id KPHL, for the period 1950 to present … Continue reading →
[Read more...]

Plotcon 2016 – Speakers and topics in R

July 30, 2016 | 0 Comments

Jenny Bryan Topic: Extract plotting intent from spreadsheets in R Bio: Jennifer Bryan is an Associate Professor in the Statistics Department and the Michael Smith Laboratories at the University of British Columbia in Vancouver. She’s a biostatistician specialized in genomics and takes a special interest and delight in data ... [Read more...]

Plot some variables against many others with tidyr and ggplot2

July 29, 2016 | 0 Comments

Want to see how some of your variables relate to many others? Here’s an example of just this: library(tidyr) library(ggplot2) mtcars %__% gather(-mpg, -hp, -cyl, key = "var", value = "value") %__% ggplot(aes(x = value, y = mpg, color = hp, shape = factor(cyl))) + geom_point() + facet_wrap(~ var, scales = "free") + ...
[Read more...]

Merge a list of datasets together

July 29, 2016 | 0 Comments

Last week I showed how to read a lot of datasets at once with R, and this week I’ll continue from there and show a very simple function that uses this list of read datasets and merges them all together. First we’ll use read_list() to read all ... [Read more...]

Merge a list of datasets together

July 29, 2016 | 0 Comments

Last week I showed how to read a lot of datasets at once with R, and this week I’ll continue from there and show a very simple function that uses this list of read datasets and merges them all together. First we’ll use read_list() to read all ... [Read more...]

R moves up to 5th place in IEEE language rankings

July 29, 2016 | 0 Comments

IEEE Spectrum has just published its third annual ranking with its 2016 Top Programming Languages, and the R Language is once again near the top of the list, moving up one place to fifth position. As I said last year (when R moved up to take sixth place), this is an ... [Read more...]

Data Visualisation (+Shiny app)

July 29, 2016 | 0 Comments

by Nic Crane Data visualisation is a key piece of the analysis process.  At Mango, we consider the ability to create compelling visualisations to be sufficiently important that we include it as one of the core attributes of a data … Continue reading → [Read more...]

Analyzing the US election using Twitter and Meta-Data in R

July 29, 2016 | 0 Comments

For my first blog post on R, I want to show how to use R to mine Twitter-data. I wanted to write this guide for several reasons. First, while there are many other guides on R-Bloggers that show similar things, they tend to focus more on setting up your Twitter ...
[Read more...]

Eclipse – an alternative to RStudio – part 2

July 29, 2016 | 0 Comments

In part one of this tutorial, I showed how to install R and LaTeX for Eclipse. Sadly, Eclipse doesn’t yet know where to find these resources, so we need to configure it appropriately. Statet provides a wizard to walk you through the setup, but I find the wizard difficult ... [Read more...]

Interactive Subsetting Exercises

July 29, 2016 | 0 Comments

The function, “subset()” is intended as a convienent, interactive substitute for subsetting with brackets. subset() extracts subsets of matrices, data frames, or vectors (including lists), according to specified conditions. Answers to the exercises are available here. Exercise 1 Subset the vector, “mtcars[,1]“, for values greater than “15.0“. Exercise 2 Subset the dataframe, “mtcars” ... [Read more...]

On a finite time scale

July 28, 2016 | 0 Comments

It was rumored that updates to the MacBook Pro were coming at WWDC. These rumors did not pan out. Instead it looks like the new MacBook Pro will be landing sometime later this year, possibly due to delays in availability of high end Skylake 45w mobile parts. This seems plausible, ... [Read more...]

On a finite time scale

July 28, 2016 | 0 Comments

It was rumored that updates to the MacBook Pro were coming at WWDC. These rumors did not pan out. Instead it looks like the new MacBook Pro will be landing sometime later this year, possibly due to delays in availability of high end Skylake 45w mobile parts. This seems plausible, ... [Read more...]

RcppGetconf 0.0.1

July 28, 2016 | 0 Comments

A new package RcppGetconf to read system configuration --- not unlike getconf from the libc library. Now R can read what system calls sysconf, pathconf and confstr have to say. The package is still pretty green, and now on CRAN in a very first versio... [Read more...]

A Gallery of ggplot2 Extensions

July 28, 2016 | 0 Comments

A couple of months ago, I announced the ggplot2-extensions website which tracks and lists extensions built on top of the popular R visualization package ggplot2. Now, I wanted to make it even easier for R users to filter and search for these extensions and so I have added a ...
[Read more...]
1 2 3 17

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)