Blog Archives

visNetwork, Currencies, and Minimum Spanning Trees

May 22, 2015
By

Just because I’m ignorant doesn’t mean I won’t try things.  Feel free to correct any ignorance that follows.  More than anything I would like to feature the new htmlwidget visNetwork.  I thought  the example from Minimum Spanning Trees in R a...

Read more »

Extracting Heatmap

March 11, 2015
By

Inspired by this tweet, I wanted to try to do something similar in JavaScript. Very cool hack: Extracting the original data from a heatmap image with R vector ops #rstats http://t.co/Lbi6FCXdrI pic.twitter.com/LCabkMGjXY— Gregory Piatetsky (@kdnugge...

Read more »

Is Time Series Clustering Meaningless? (lots of dplyr)

March 5, 2015
By

A kind reader directed me in a comment on Experiments in Time Series Clustering to this paper. Clustering of Time Series Subsequences is Meaningless: Implications for Previous and Future Research Eamonn Keogh  and Jessica Lin Computer Science & Engineering Department University of California – Riverside http://www.cs.ucr.edu/~eamonn/meaningless.pdf As I said in my last post, I don’t know...

Read more »

Experiments in Time Series Clustering

March 2, 2015
By

Last night I spotted this tweet about the R package TSclust. Thank you Pablo and Jose for #TSclust - time series clustering package in #rstats ! http://t.co/GBQtQnQ8Lr— Pasha Roberts (@pasharoberts) March 2, 2015 I should start by saying that I really don’t know what I’m doing, so be warned.  I thought it would interesting to apply TSclust to...

Read more »

Financial Charts | Pan and Zoom

February 3, 2015
By

The htmlwidget for Week 2 over at Building Widgets claims to add pan and zoom interactivity to almost all R charts.  Since their were no tests on financial charts, I thought I would try it out on a couple.  It really does work.  Here is an example ...

Read more »

Widgets For Christmas

December 30, 2014
By

For Christmas, I generally want electronic widgets, but after six months of development, all I wanted this Christmas was htmlwidgets, and Santa RStudio/jj,joe,yihui and Santa Ramnath delivered early with this RStudio tweet on December 17th. htmlwidget...

Read more »

Out of Nowhere–Explore Text on a Path

December 11, 2014
By

I had not really stopped to think of this until I listened to this The Web Ahead podcast with Sara Soueidan.  What is really interesting about the tech world is how experts can seemingly pop up out of nowhere and become the authority on a topic.  In the podcast, this was the case with the interviewee Sara Soueidan.  We...

Read more »

Much Better Animated Paths | Christmas SVG

December 2, 2014
By

Just after I made my really ugly animated turkey sketch (see post), I saw this much better set of Christmas icons in the Smashing Magazine Article Freebie Christmas Icon Set from Manuela Langella.  While I still remember how to do this, I thought I wo...

Read more »

Happy Thanksgiving | More Examples of XML + rvest with SVG

November 26, 2014
By

I did not intend for this little experiment to become a post, but I think the code builds nicely on the XML + rvest combination (also see yesterday’s post) for working with XML/HTML/SVG documents in R. It all started when I was playing on my iPhone i...

Read more »

Slightly Advanced rvest with Help from htmltools + XML + pipeR

November 26, 2014
By

Hadley Wickham’s post “rvest: easy web scraping with R” introduces the fine new package rvest very well.  For those now yearning a slightly more advanced example with a little help from pipeR + htmltools + XML, I thought this might fill your yea...

Read more »