2792 search results for "ggplot2"

K-means clustering is not a free lunch

January 15, 2015
By
K-means clustering is not a free lunch

I recently came across this question on Cross Validated, and I thought it offered a great opportunity to use R and ggplot2 to explore, in depth, the assumptions underlying the k-means algorithm. The question, and my response, follow. K-means is a widely used method in cluster analysis. In my understanding, this method does NOT require ANY assumptions,...

Read more »

Seven 3D Graphs You Can Make In Excel, Python, MATLAB, R, & LaTeX

January 15, 2015
By
Seven 3D Graphs You Can Make In Excel, Python, MATLAB, R, & LaTeX

Plotly’s interactive 3D graphs let you make graphs from (click the links for tutorials): our web app, Excel, Google Docs, Python, MATLAB, and R. Click any image below to go to the full-screen interactive version. Also, news for users with on-premise needs. Plotly On-Premise can be hosted on a private server. Contact us...

Read more »

Some basics for base graphics

January 15, 2015
By
Some basics for base graphics

by Joseph Rickert One of the greatest strengths of the R language is surely the base graphics capabilities. Grid graphics, lattice, ggplot2, bigvis and the many R packages that interface with javascript D3 graphics have added astounding capabilities, well beyond what can be achieved with base graphics alone. Nevertheless, the quick, one line, base graphics plots ( like plot()...

Read more »

Using the microbenchmark package to compare the execution time of R expressions

January 14, 2015
By
Using the microbenchmark package to compare the execution time of R expressions

I recently learned about the microbenchmark package while browsing through Hadley’s advanced R programming book. I’ve done some quick benchmarking using system.time() in a for loop and taking the average, but the microbenchmark function in the microbenchmark package makes this much easier. Hadley gives the example of taking the square root of a vector using the built-in...

Read more »

Simulated Annealing Feature Selection

January 12, 2015
By
Simulated Annealing Feature Selection

As previously mentioned, caret has two new feature selection routines based on genetic algorithms (GA) and simulated annealing (SA). The help pages for the two new functions give a detailed account of the options, syntax etc. The package already has functions to conduct feature selection using simple filters as well as recursive feature elimination (RFE). RFE...

Read more »

How to analyze smartphone sensor data with R and the BreakoutDetection package

January 10, 2015
By
How to analyze smartphone sensor data with R and the BreakoutDetection package

Yesterday, Jörg has written a blog post on Data Storytelling with Smartphone sensor data. Here’s a practical approach on how to analyze smartphone sensor data with R. In this example I will be using the accelerometer smartphone data that Datarella provided in its Data Fiction competition. The dataset shows the acceleration along

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 »

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 »

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 »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



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.

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)