As more settlements in Texas and France are impacted by severe flooding, this is a good time to thank the hydrologists at the NOAA who forecast river level rises in advance and give residents in affected areas time to move to higher ground. Along with topgraphic, rainfall, and weather data, monitoring stations maintained by NOAA and the USGS along...
For training purposes, I was looking for a way to illustrate some of the different properties of two different robust estimation methods for linear regression models. The two methods I’m looking at are:
least trimmed squares, implemented as the default option in lqs()
a Huber M-estimator, implemented as the default option in rlm()
Making still frames for great circle animations in R Matthew Leonawicz Here I share R code I used to produce animated great circle arcs on top of a rotating 3D Earth. The code is not entirely reproducible but you should be able to use what is shared here to create your own video frames given
This made the rounds on social media last week: Spiraling global temperatures from 1850-2016 (full animation) https://t.co/YETC5HkmTr pic.twitter.com/Ypci717AHq— Ed Hawkins (@ed_hawkins) May 9, 2016 One of the original versions was static and was not nearly as popular, but—as you can see—this one went viral. Despite the public’s infatuation with circles (I’m lookin’ at you, pie... Continue reading →
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. The markdown+Rknitr source code of this blog is available under a GNU General Public License (GPL v3) license from .
This is a small note rediscovering a gem published by S. R. Dalal and C....
You don’t have to be beautiful to turn me on (Kiss, Prince) I discovered recently how easy is to create GIFs with R using ImageMagick and I feel like a kid with a new toy. To begin this new era of my life as R programmer I have done this: First of all, read this … Continue reading...
The bit of R code below illustrates the principal curves methods as described in The Elements of Statistical Learning, by Hastie, Tibshirani, and Friedman (Ch. 14; the book is freely available from the authors' website). Specifically, the code generates some bivariate data that have a nonlinear association, initializes the principal curve using the first (linear) principal … Continue reading...
I’ve been staring at this homeless data set for a few weeks now since I’m using it both here and in the data science class I’m teaching. It’s been one of the most mindful data sets I’ve worked with in a while. Even when reduced to pure numbers in named columns, the names really stick... Continue reading →
The response to 52Vis has exceeded expectations and there have been great entries for both weeks. It’s time to award some prizes! Week 1 – Send in the Drones I’ll take this week in comment submission order (remember, the rules changed to submission via PR in Week 2). NOTE: WordPress seems to have “eaten” the... Continue reading →
Time ago @hrbrmstr show how to replicate a visualization made by
New York Times
The @nytgraphics folks are spiffy.so is #rstats https://t.co/zc1gIx6cyE https://t.co/XAmVPDLfC7 #tigrisviridisggplot pic.twitter.com/9ZK6wvYDnh— boB Rudis (@hrbrmstr) March 25, 2016
The result we hope is like this:
I really like small multiples and this is a good...