More than anything I would like to feature the new htmlwidget visNetwork. I thought the example from Minimum Spanning Trees in R applied to currency data (similar to this research paper Minimum Spanning Tree Application in the Currency Market) would be a good way to demonstrate this
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 what
Last night I spotted this tweet about the R package TSclust. Thank you Pablo and Jose for #TSclust - time series clustering package in #rstats !
The htmlwidget for Week 2 over at Building Widgets claims to add pan and zoom interactivity to almost all R charts. When we combine pipeR and htmlwidgets, we get a solid result from what I think is fairly elegant
I have committed to building an htmlwidget a week in 2015. To isolate and separate the commitment from this blog, I set up a new site Building Widgets and Github repo.
I had not really stopped to think of this until I listened to this The Web Ahead podcast with Sara Soueidan. We can find a similar example in Joni "Bologna" Trythall with SVG.
Don’t intend for this to be a bitch and moan post, and I’m not sure there is really any real objective other than I feel like I need an outlet. However, this business
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 would use the same techniques in R using rvest + XML + htmltools to animate the paths with vivus.js.
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 in the Sketchbook app and drew a really bad turkey. Even though, the turkey was bad, I thought it would be fun to combine with vivus.js.
Hadley Wickham’s post “rvest: easy web scraping with R” introduces the fine new package rvest very well. The code grabs css information running the fancy new site cssstats.com on my blog site.
I am by no means an authoritative source on this, but I think I found out the secret behind htmltools html_print that chooses the RStudio Viewer browser rather than your default browser like utils::browseURL. It appears you just need a temp directory with the pattern starting with viewhtml*.library(htmltools)library(pipeR)#
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 ( .
Given the recent selloff in the Yen, I thought now would be a good time to update my favorite chart from Intended or Unintended Consequences. It appears we are long way from that.
For those moments when you need a little positive feedback, some encouragement, or a pat on the back, I thought this might help. I found this from Sweet Alert for Bootstrap forked from Tristan Edwards non-bootstrap SweetAlert.