Do You Know What You Show at Your Map?

January 10, 2015
By
Do You Know What You Show at Your Map?

As access to the GIS and mapping is becoming easier every year the more people and companies create maps. Unfortunately often they just do not know what they are actually showing at their maps. This issue is being mentioned over and over again.  Here is the example that I discovered recently: Cyberthreat Real-Time Map by Kaspersky...

Read more »

"RStudio:Get Started" Screencasts

January 9, 2015
By
"RStudio:Get Started" Screencasts

I just wrapped up a course introducing R and RStudio with Pluralsight!  RStudio: Get Started covers  a range of topics on R itself and RStudio.  My fellow Pluralsight author Abhishek Kumar recently produced an introductory cour...

Read more »

Calculating Churn in Seasonal Leagues

January 9, 2015
By
Calculating Churn in Seasonal Leagues

One of the things I wanted to explore in the production of the Wrangling F1 Data With R book was the extent to which I could draw on published academic papers for inspiration in exploring the the various results and timing datasets. In a chapter published earlier this week, I explored the notion of churn,

Read more »

New in openssl 0.3: hash functions

January 9, 2015
By
New in openssl 0.3: hash functions

This week version 0.3 of the openssl package appeared on CRAN. New in this release are bindings to the cryptographic hashning functions in OpenSSL. Not exactly ground breaking (hashing functions have long been available from digest) but nice to have anyway. An overview from the new vignette: Hashing functions The functions sha1,...

Read more »

dplyr 0.4.0

January 9, 2015
By
dplyr 0.4.0

I’m very pleased to announce that dplyr 0.4.0 is now available from CRAN. Get the latest version by running: install.packages("dplyr") dplyr 0.4.0 includes over 80 minor improvements and bug fixes, which are described in detail in the release notes. Here I wanted to draw your attention to two areas that have particularly improved since dplyr

Read more »

RMySQL 0.10.0

January 9, 2015
By
RMySQL 0.10.0

Jeroen Ooms and I are very pleased to announce a new version of RMySQL, the R package that allows you to talk to MySQL (and MariaDB) databases. We have taken over maintenance from Jeffrey Horner, who has done a great job of maintaining the package of the last few years, but no longer has time

Read more »

ggplot2 updates

January 9, 2015
By
ggplot2 updates

ggplot2 1.0.0 As you might have noticed, ggplot2 recently turned 1.0.0. This release incorporated a handful of new features and bug fixes, but most importantly reflects that ggplot2 is now a mature plotting system and it will not change significantly in the future. This does not mean ggplot2 is dead! The ggplot2 community is rich

Read more »

Interactive visualizations with R – a minireview

January 9, 2015
By
2015-01-10 00_34_37-Clipboard

Interactive visualization allows deeper exploration of data than static plots. Javascript libraries such as d3 have made possible wonderful new ways to show data. Luckily the R community has been active in developing R interfaces to some popular javascript libraries to enable R users to create interactive visualizations without knowing any javascript. In this post I have reviewed...

Read more »

Bioconductor project advances understanding of genetics

January 9, 2015
By

Bioconductor is a project to develop and curate a collection of R packages used for analysis of genetic data (specifically, analysis and comprehension of high-throughput genomic data). With the wealth of genetic data on humans and animals now available, Bioconductor is widely used in medical research to understand how genes influence our health, and to develop new therapies and...

Read more »

Adding a Risk-Free Rate To Your Analyses

January 9, 2015
By
Adding a Risk-Free Rate To Your Analyses

First off, before beginning this post, I’d like to make my readers aware of the release of a book that … Continue reading →

Read more »

In case you missed it: December 2014 roundup

January 9, 2015
By

In case you missed them, here are some articles from November of particular interest to R users. R was featured in recent articles in Nature News and Mashable. A recap of the 6th Spanish R Users Conference. R was the recipient of a 2014 "Bossie" award for best open-source big data tools. A fractal Christmas tree created with R....

Read more »

random 0.2.3

January 8, 2015
By

A new release of my random package for truly (hardware-based) random numbers as provided by random.org is now on CRAN. The main change is a switch to the curl() function from the eponymous package by Jeroen Ooms. This was caused by random.org now usi...

Read more »

Anomaly Detection with Wikipedia Page View Data

January 8, 2015
By
Anomaly Detection with Wikipedia Page View Data

Today, the Twitter engineering team released another very interesting Open Source R package for working with time series data: “AnomalyDetection“. This package uses the Seasonal Hybrid ESD (S-H-ESD) algorithm to identify local anomalies (= variations inside seasonal patterns) and global anomalies (= variations that cannot be explained with seasonal patterns). As a

Read more »

New R Package: metricsgraphics

January 8, 2015
By
2015-01-09 20_12_42-Clipboard

Mozilla released the MetricsGraphics.js library back in November of 2014 (gh repo) and was greeted with great fanfare. It’s primary focus is on crisp, clean layouts for interactive time-series data, but they have support for other chart types as well (though said support is far from comprehensive). I had been pondering building an R package

Read more »

Regression Solutions Available

January 8, 2015
By
Regression Solutions Available

The github page for the APM exercises has been updated with three new files for Chapters 6-8 (the section on regression). The classifications section is in-progress. Here's one of our fancy-pants graphs:

Read more »

Nine Interactive 3D Graphs That Let You Zoom, Flip, & Spin

January 8, 2015
By
Nine Interactive 3D Graphs That Let You Zoom, Flip, & Spin

Plotly’s interactive 3D graphs have new capabilities: multiple scenes, streaming graphs, and contour lines. Plot from our web app, Excel, Google Docs, Python, MATLAB, and R. Contact us if you’re interested in running Plotly on-premise to integrate your own applications. Click any image to go to the full-screen interactive version. Mount Bruno Elevation...

Read more »

What’s your KatRisk Score?

January 8, 2015
By
What’s your KatRisk Score?

by Joseph Rickert KatRisk, a Berkeley based catastrophe modeling company specializing in wind and flood risk, has put three R and Shiny powered interactive demos on their website. Together these provide a nice introduction to the practical aspects of weather based risk modeling and give a good indication of the kinds of data that are important. Two of the...

Read more »

Using rvest to Scrape an HTML Table

January 8, 2015
By
Using rvest to Scrape an HTML Table

I recently had the need to scrape a table from wikipedia. Normally, I'd probably cut and paste it into a spreadsheet, but I figured I'd give Hadley's rvest package a go. The first thing I needed to do was browse to the desired page and locate the table. In this case, it's a table of US...

Read more »

Probable Points and Credible Intervals, Part 2: Decision Theory

January 7, 2015
By
Probable Points and Credible Intervals, Part 2: Decision Theory

“Behind every great point estimate stands a minimized loss function.” – Me, just now This is a continuation of Probable Points and Credible Intervals, a series of posts on Bayesian point and interval estimates. In Part 1 we looked at these estimates as graphical summaries, useful when it’s difficult to plot the whole posterior in good way....

Read more »

WrightMap: Multifaceted models

January 7, 2015
By
WrightMap: Multifaceted models

We received an email from a user who was interested in displaying results from a multifaceted model in WrightMap. In the WrightMap manual, we show how to use multifaceted results from ConQuest: fpath <- system.file("extdata", package = "WrightMap") model4 <- CQmodel(file.path(fpath, "ex4a.mle"), file.path(fpath, "ex4a.shw")) wrightMap(model4, item.table = "rater", interactions = "rater*topic", step.table = "topic") (See this tutorial for more details.) But...

Read more »

Top 77 R posts for 2014 (+R jobs)

January 7, 2015
By
Top 77 R posts for 2014 (+R jobs)

R-bloggers.com is 5 years old this month! In celebration, this post share links to the top 77 most read R posts of 2014 (+stats on R-bloggers, + top R jobs for the beginning of 2015)

Read more »

Twitter’s new R package for anomaly detection

January 7, 2015
By
Twitter’s new R package for anomaly detection

For Twitter, finding anomalies — sudden spikes or dips — in a time series is important to keep the microblogging service running smoothly. A sudden spike in shared photos may signify an "trending" event, whereas a sudden dip in posts might represent a failure in one of the back-end services that needs to be addressed. To detect such anomalies,...

Read more »

First Anniversary Of Ripples

January 7, 2015
By
First Anniversary Of Ripples

If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is (John von Neumann) I started this blog one year ago and the experience has been better than I could have imagine: Ripples has been viewed about 30.000 times 49 posts published (The Sound Of Mandelbrot … Continue reading...

Read more »

Run scoring trends: using Shiny to create dynamic charts and tables in R

January 7, 2015
By

Or, Retracing my stepsAs I’ve been learning the functionality of Shiny, the web app for R, I have used the helpful tutorials available from the developers at RStudio. At some point, though, one needs to break out and develop one’s own application.  My Shiny app “MLB run scoring trends” can be found at (

Read more »

Announcing shinyapps.io beta

January 6, 2015
By
Announcing shinyapps.io beta

RStudio is happy to announce the availability of the shinyapps.io beta. Shinyapps.io is an easy to use, secure, and scalable hosted service already being used by thousands of professionals and students to deploy Shiny applications on the web. Today we are releasing a significant upgrade as we transition from alpha to beta, the final step

Read more »

RcppCNPy 0.2.4

January 6, 2015
By

A new release of the RcppCNPy package is now on CRAN. This release mostly solidifies and fixes things. Support for saving integer objects, which was expanded in release 0.2.3, was not entirely correct. Operations on big-endian systems were not up to ...

Read more »

Predicteria 2015

January 6, 2015
By

Fifteen years ago, I initiated a time-honored tradition among my colleagues in kernel development at Sun: shortly after the first of every year, we would get together at our favorite local restaurant to form predictions for the coming year. We made one-year, three-year and six-year predictions for…

Read more »

RSiteCatalyst Version 1.4.3 Release Notes

January 6, 2015
By
RSiteCatalyst Version 1.4.3 Release Notes

It’s a new year, so…new version of RSiteCatalyst on CRAN! For the most part, this release fixes a handful of bugs that weren’t noticed with the prior release 1.4.2 (oops!), but there are pieces of additional functionality. New functionality: Data Feed monitoring For those of you having hourly or daily data feeds delivered via FTP,

Read more »

Creating a custom soil attribute plot using ggmap

January 6, 2015
By
Creating a custom soil attribute plot using ggmap

Cusby Ryan Garner Senior Data Scientist, Revolution Analytics I love creating spatial data visualizations in R. With the ggmap package, I can easily download satellite imagery which serves as a base layer for the data I want to represent. In the code below, I show you how to visualize sampled soil attributes among 16 different rice fields in Uruguay....

Read more »