Visualizing ROC Curves in R using Plotly

October 15, 2016
By

In this post we’ll create some simple functions to generate and chart a Receiver Operator (ROC) curve and visualize it using Plotly. See Carson’s plotly book for more details around changes in syntax. We’ll do this from a credit risk perspective i.e. validating a bank’s internal rating model (we’ll create a sample dataset keeping this in

Read more »

The Grammar of Graphics and Radar Charts

October 15, 2016
By
The Grammar of Graphics and Radar Charts

A radar chart (also known as a web chart, spider chart, or star chart) is described on Wikipedia as 'a two-dimensional chart of three or more quantitative variables...

Read more »

Progress bar overhead comparisons

October 15, 2016
By
Progress bar overhead comparisons

As a testament to my obsession with progress bars in R, here is a quick investigation about the overhead cost of drawing a progress bar during computations in R. I compared...

Read more »

anytime 0.0.3: Extension and fixes

October 14, 2016
By

anytime arrived on CRAN with releases 0.0.1 and 0.0.2 about a month ago. anytime aims to convert anything in integer, numeric, character, factor, ordered, ... format to POSIXct...

Read more »

On the ifelse function

October 14, 2016
By

In this post, I will talk about the ifelse function, which behaviour can be easily misunderstood, as pointed out in my latest question on SO. I will try to...

Read more »

Converting mouse to human gene names with biomaRt package

October 14, 2016
By
Converting mouse to human gene names with biomaRt package

Converting mouse gene names to the human equivalent and vice versa is not always as straightforward as it seems, so I wrote a function to simplify the task. The...

Read more »

Association Rules on WideWorldImporters and SQL Server R Services

October 14, 2016
By
Association Rules on WideWorldImporters and SQL Server R Services

Association rules are very handy for analyzing Retail data. And WWI database has really neat set of invoices that can be used to make a primer. Starting with following...

Read more »

Shiny Server (Pro) 1.4.7

October 14, 2016
By
Shiny Server (Pro) 1.4.7

Shiny Server 1.4.7.815 and Shiny Server Pro 1.4.7.736 are now available! This release includes new features to support Shiny 0.14. It also updates our Node.js to 0.10.47, which includes important...

Read more »

Optimize Data Exploration With Sapply() – Exercises

October 14, 2016
By
Optimize Data Exploration With Sapply() – Exercises

The apply() functions in R are a utilization of the Split-Apply-Combine strategy for Data Analysis, and are a faster alternative to writing loops. The sapply() function applies a function...

Read more »

Make tilegrams in R with tilegramsR

October 14, 2016
By
Make tilegrams in R with tilegramsR

In this busy election season (here in the US, at least), we're seeing a lot of maps. Some states are red, some states are blue. But there's a problem:...

Read more »

reproducible logo generated by ggtree

October 14, 2016
By
reproducible logo generated by ggtree

ggtree provides many helper functions for manupulating phylogenetic trees and make it easy to explore tree structure visually. Here, as examples, I used ggtree to draw capital character G...

Read more »

Statistics New Zealand experimental API initiative

October 14, 2016
By
Statistics New Zealand experimental API initiative

Exciting experimental API to access New Zealand official statistics Statistics New Zealand have released an exciting experiment in accessing data in JSON format over the web via an application programming...

Read more »

Global Temp: Geo-Spatial Records over Time

October 14, 2016
By
Global Temp: Geo-Spatial Records over Time

Over the past couple months there have been datavizs showing global average temp trends. They have gotten a lot of media attention, so I got to see examples fairly...

Read more »

Eight (not 10) things an R user will find frustrating when trying to learn Python

October 14, 2016
By

by Andy Nicholls When speaking with clients and other R users at events such as LondonR and EARL I’ve noticed an increasing trend in people looking to learn some...

Read more »

grim knight [a riddle]

October 13, 2016
By
grim knight [a riddle]

The Riddler of this week had a riddle that is a variation of the knight tour problem, namely “…how long is the longest path a knight can travel on...

Read more »

The schedule is out – rstudio:conf 2017

October 13, 2016
By
The schedule is out – rstudio:conf 2017

rstudio::conf 2017, the conference on all things R and RStudio, is only 90 days away. Now is the time to claim your spot or grab one of the few...

Read more »

Sentiment analysis and Parts of Speech tagging in Dutch/French/English/German/Spanish/Italian

Sentiment analysis and Parts of Speech tagging in Dutch/French/English/German/Spanish/Italian

As part of our continuing effort to digitise poetry and to automate new forms of poetry, we released an R package called pattern.nlp, which is available at https://github.com/bnosac/pattern.nlp...

Read more »

Converting (British) National Grid references

October 13, 2016
By
Converting (British) National Grid references

I was supplied spatial point data this summer where the locations were detailed in Ordnance Survey’s National Grid (NGR) format. If you’re not familiar with it, rather than using...

Read more »

Fixing R Documentation

October 13, 2016
By
Fixing R Documentation

If you couldn't tell already, we are pretty big fans of the R language here at DataCamp. From its ability to create complex statistical models with a few lines of...

Read more »

shinythemes 1.1.1

October 13, 2016
By
shinythemes 1.1.1

If there’s one word that could describe the default styling of Shiny applications, it might be “minimalist.” Shiny’s UI components are built using the Bootstrap web framework, and unless...

Read more »

Upcoming Practical Data Science courses in London, Chicago, Zurich, Oslo and Stockholm

October 13, 2016
By

If you'd like to learn how to run R within Azure Machine Learning and SQL Server, you may be interested in these upcoming 4-day Practical Data Science courses, presented...

Read more »

Use R to Calculate Inflation with the blscrapeR Package

October 13, 2016
By
Use R to Calculate Inflation with the blscrapeR Package

The Consumer Price Index (CPI) is the main standard for tracking the inflation of the U.S. dollar. The various CPI measures are published monthly by the Bureau of Labor...

Read more »

Seinfeld streak at GitHub: Round Three

October 12, 2016
By
Seinfeld streak at GitHub: Round Three

Two years ago in this post I reference the Seinfeld Streak used in an even earlier post of regular updates to to the Rcpp Gallery: This...

Read more »

importance sampling by kernel smoothing [experiment]

October 12, 2016
By
importance sampling by kernel smoothing [experiment]

Following my earlier post on Delyon and Portier’s proposal to replacing the true importance distribution ƒ with a leave-one-out (!) kernel estimate in the importance sampling estimator, I ran a...

Read more »

3 Reasons to Learn Caret

October 12, 2016
By
3 Reasons to Learn Caret

Machine learning is the study and application of algorithms that learn from and make predictions on data. From search results to self-driving cars, it has manifested itself in all...

Read more »

Tutorial: Scalable R on Spark with SparkR, sparklyr and RevoScaleR

October 12, 2016
By
Tutorial: Scalable R on Spark with SparkR, sparklyr and RevoScaleR

If you'd like to manipulate and analyze very large data sets with the R language, one option is to use R and Apache Spark together. R provides the simple,...

Read more »

Performance comparison between kmeans and RevoScaleR rxKmeans

October 12, 2016
By
Performance comparison between kmeans and RevoScaleR rxKmeans

In my previous blog post, I was focusing on data manipulation tasks with RevoScaleR Package in comparison to other data manipulation packages and at the end conclusions were obvious;...

Read more »

Understanding empirical Bayesian hierarchical modeling (using baseball statistics)

October 11, 2016
By
Understanding empirical Bayesian hierarchical modeling (using baseball statistics)

Previously in this series: Understanding the beta distribution Understanding empirical Bayes estimation Understanding credible intervals Understanding the Bayesian approach to false discovery rates ...

Read more »

bayesAB 0.7.0 + A Primer on Priors

October 11, 2016
By
bayesAB 0.7.0 + A Primer on Priors

bayesAB 0.7.0 Quick announcement that my package for Bayesian AB Testing, bayesAB, has been updated to 0.7.0 on CRAN. Some improvements on the backend as well a few tweaks for...

Read more »

Sponsors

Mango solutions



plotly webpage

dominolab webpage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de







ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.