3975 search results for "git"

Stealing from the internet: Part 1

December 20, 2012
By
Stealing from the internet: Part 1

Well, not stealing but rather some handy tools for data mining… About a year ago I came across the package XML as I was struggling to get some data from various web pages. The purpose of this blog is to describe how this package can be used to quickly gather data from the internet. I’ll

Read more »

Shiny/R Conversion of Another One of My Favorite Mike Bostock d3 Examples

December 20, 2012
By

Mike Bostock has revolutionized visualization with his d3 and his seemingly infinite examples.  In another adaptation of his amazing work, I will adapt one of my favorite examples to supplement the interactive scatterplot with data supplied by R t...

Read more »

Shiny SVG no d3–New and Improved

December 20, 2012
By

The fine author Joe Cheng of RStudio Shiny suggested in this Google Groups message to use htmlOutput rather than the ugly hack in my last post R Shiny svg with no d3.  As I should have known, it works great and eliminates all the useless javascrip...

Read more »

Turnovers are poison

December 20, 2012
By
Turnovers are poison

This is probably a slightly useless post, but a bit of fun all the same. If nothing else, it allows me to take a stab at learning a bit more about logistic regression. I’m still trying to unravel the mystery of why the Bears lost to the Vikings two weeks ago. This mystery is compounded

Read more »

Geocoding location data with dismo

December 20, 2012
By
Geocoding location data with dismo

Today’s Gist could actually end up being very useful to a number of you. It’s something of a trumped-up example, but it illustrates in very simple code how to do three interesting things: Gather Tweets by search term (which we’ve done before), and look up user info for each of the users returned by that search. Convert textual user...

Read more »

Presentations of the first Italian bioR Day at PTP

December 20, 2012
By

Reproducible Research in High-Throughput Biology: A Case Study Paolo Sonego, Bioinformatician at CBM Scrl (view code and case study on github) Metabolomics: an interpreting tool to understand kidney graft recipients grouping and their recovery trajectory Marco Calderisi, Chemometrician at Kode … Continue reading →

Read more »

Finding Numeric Values of Strings using strsplit()

December 19, 2012
By
Finding Numeric Values of Strings using strsplit()

Given a random list of words, can you find which has the lowest or highest numerical value when we apply a basic number:letter cipher?  A while back I asked David how he would solve this problem:  http://projecteuler.net/problem=42 Today’s post shows how to take a vector of words, parse them into each of the individual letters comprising the word, and...

Read more »

Making prettier network graphs with sna and igraph

December 18, 2012
By
Making prettier network graphs with sna and igraph

We’ve had some requests for ideas about how to make prettier network graphs, so here is one example, using the sna package for plotting, and the igraph package to calculate PageRank. The help file for gplot is pretty self-explanatory, but Melissa Clarkson has produced the most thorough and impressive guide for any R...

Read more »

R Shiny svg with no d3

December 18, 2012
By
R Shiny svg with no d3

Paul Murrell’s Technical Report reminded me that svg in the browser does not require d3.  With his package gridSVG, we can do all sorts of wonderful things without leaving R.  I think I prefer the power of d3.js, but here is an example (doe...

Read more »

NHS Winter Situation Reports: Shiny Viewer v2

December 18, 2012
By
NHS Winter Situation Reports: Shiny Viewer v2

Having got my NHS Winter sitrep data scraper into shape (I think!), and dabbled with a quick Shiny demo using the R/Shiny library, I thought I’d tidy it up a little over the weekend and long the way learn a few new presentation tricks. To quickly recap the data availability, the NHS publish a weekly

Read more »