2660 search results for "Ggplot2"

Visualizing Historical & Most-likely First Snowfall Dates for U.S. Regions

November 26, 2014
By
Visualizing Historical & Most-likely First Snowfall Dates for U.S. Regions

UPDATE: You can now run this as a local Shiny app by entering shiny::runGist("95ec24c1b0cb433a76a5", launch.browser=TRUE) at an R prompt (provided all the dependent libraries (below) are installed) or use it interactively over at Shiny Apps. The impending arrival of the first real snowfall of the year in my part of Maine got me curious about

Read more »

What’s the most popular German car where you live?

November 25, 2014
By
What’s the most popular German car where you live?

by Tim Winke PhD student in Demography and Social Sciences in Berlin This post has been abstracted from Tim's entry to a contest that Dalia Research is running based on a global smarthpone survey that they are conducting. Tim's entry post is available as is all of the code behind it. - editor When people think about Germany, what...

Read more »

Circlizing Numbers

November 24, 2014
By
Circlizing Numbers

She makes the sound the sea makes to calm me down (Dissolve Me, Alt-J) Searching how to do draw chord diagrams in the Internet with ggplot2 I found a very-easy-to-use package called circlize which does exactly that. A chord diagram shows relationships between things so the input to draw it is simply a matrix with the intensity … Continue reading...

Read more »

Pipeline to Plot Annual % Change

November 24, 2014
By

Pipes in R make my life incredibly easy, and I think my code easier to read.   Note, there are a couple different flavors of pipes (see magrittr and pipeR).  For now, I choose pipeR.library(quantmod)library(pipeR)library(ggplot2)getSymbols("^GSPC",from="1900-01-01",auto.assign=F) %>>% #get S&P 500 from Yahoo!Finance ( . ) %>>% #get end of year ROC( type="discrete", n=1

Read more »

GTrendsR package to Explore Google trending for Field Dependent Terms

November 24, 2014
By
GTrendsR package to Explore Google trending for Field Dependent Terms

My friend, Steve Simpson, introduced me to Philippe Massicotte and Dirk Eddelbuettel’s GTrendsR GitHub package this week. It’s a pretty nifty wrapper to the Google Trends API that enables one to search phrase trends over time. The trend indices that … Continue reading →

Read more »

When should I change to snow tires in Netherlands

November 23, 2014
By
When should I change to snow tires in Netherlands

The Royal Netherlands Meteorological Institute has weather information by day for a number of Dutch stations. In this post I want to use those data for a practical problem: when should I switch to winter tires? (or is that snow tires? In any case nails...

Read more »

Trading The Odds Volatility Risk Premium: Addressing Data Mining and Curve-Fitting

November 19, 2014
By
Trading The Odds Volatility Risk Premium: Addressing Data Mining and Curve-Fitting

Several readers, upon seeing the risk and return ratio along with other statistics in the previous post stated that the … Continue reading →

Read more »

Moving The Earth (well, Alaska & Hawaii) With R

November 16, 2014
By
Moving The Earth (well, Alaska & Hawaii) With R

In a previous post we looked at how to use D3 TopoJSON files with R and make some very D3-esque maps. I mentioned that one thing missing was moving Alaska & Hawaii a bit closer to the continental United States and this post shows you how to do that. The D3 folks have it easy.

Read more »

What size will you be after you lose weight?

November 14, 2014
By
What size will you be after you lose weight?

REDDITORS’ BEFORE AND AFTER MEASUREMENTS ANALYZED Click to enlarge How many pounds do you need to lose in order to reduce your waistline by one inch? How many kilos do you need to lose to reduce your waistline by one centimeter? We wanted to find out. We were having trouble finding published data (though we The post

Read more »

How to Summarize a 2D Posterior Using a Highest Density Ellipse

November 13, 2014
By
How to Summarize a 2D Posterior Using a Highest Density Ellipse

Making a slight digression from last month’s Probable Points and Credible Intervals here is how to summarize a 2D posterior density using a highest density ellipse. This is a straight forward extension of the highest density interval to the situation where you have a two-dimensional posterior (say, represented as a two column matrix of samples) and you want...

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)