2660 search results for "ggplot2"

Four Famous Laws & How You Can Visualize Them

January 22, 2015
By
Four Famous Laws & How You Can Visualize Them

Famous laws, theorems, and observations are often named after the person who proposed the idea. These “eponymous laws" can be graphed. We do so in this post, using our free, web-based product. Contact us about getting a trial of Plotly Enterprise on your servers. Moore’s Law Transistors are used in building electronics. The number of transistors in a...

Read more »

A beautiful story about NYC weather

January 21, 2015
By
A beautiful story about NYC weather

Inspired by Tufte's classic visualization of New York City weather in 2013, Alex Bresler used the R language to update the chart for 2014: (Click the image to view the zoomable SVG version.) The R code to create the plot is available on GitHub, and is easily adapted to display data for any of the other cities provided in...

Read more »

Visualizing bivariate shrinkage

January 20, 2015
By
Visualizing bivariate shrinkage

Inspired by this post about visualizing shrinkage on Coppelia, and this thread about visualizing mixed models on Stack Exchange, I started thinking about how to visualize shrinkage in more than one dimension. One might find themselves in this situation with a varying slope, varying intercept hierarichical (mixed effects) model, a model with two varying intercepts, etc. Then...

Read more »

Visualizing bivariate shrinkage

January 20, 2015
By
Visualizing bivariate shrinkage

Inspired by this post about visualizing shrinkage on Coppelia, and this thread about visualizing mixed models on Stack Exchange, I started thinking about how to visualize shrinkage in more than one dimension. One might find themselves in this situation with a varying slope, varying intercept hierarichical (mixed effects) model, a model with two varying intercepts, etc. Then...

Read more »

Simple Data Science Of Global Warming In KDnuggets

January 20, 2015
By
Simple Data Science Of Global Warming In KDnuggets

Would love to get a post from you for KDnuggets (Gregory Piatetsky, KDnuggets President) Some days ago, Gregory Piatetsky invited me to write a post for KDnuggets. I couldn’t say no. He suggested to me some topics and I decided to experiment around climate change to demonstrate how easy is to see some evidences of … Continue reading...

Read more »

Building a choropleth map of Italy using mapIT

January 19, 2015
By
Building a choropleth map of Italy using mapIT

In the R environment, different packages to draw maps a

Read more »

How to Predict Where Will Next Disaster Strike?

January 18, 2015
By
How to Predict Where Will Next Disaster Strike?

It is amusing coincidence that another MOOC that I took this week (Geospatial Intelligence & the Geospatial revolution) mentioned disasters. About the other course see my recent Disasters: Myth or the Reality post.In Geospatial Intelligence they gave a weird assignment: one need to mark the location on the world map where...

Read more »

stacked plot in R

January 18, 2015
By
stacked plot in R

Consider the following example: there is a three-stage truck maintenance pipeline. Initially, when a Truck comes to the maintenance service, it is added to the first stage and its status in the pipeline is set to "New". When the technicians start working on it, for diagnosis the problem and removing the issue, its status is changed to "in progress"....

Read more »

NASA GISS’s Annual Global Temperature Anomaly Trends (dplyr/ggplot version)

January 18, 2015
By
NASA GISS’s Annual Global Temperature Anomaly Trends (dplyr/ggplot version)

D Kelly O’Day did a great post on charting NASA’s Goddard Institute for Space Studies (GISS) temperature anomaly data, but it sticks with base R for data munging & plotting. While there’s absolutely nothing wrong with base R operations, I thought a modern take on the chart using dplyr, magrittr & tidyr for data manipulation

Read more »

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 »

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)