3894 search results for "git"

Le Monde puzzle (#800)

December 14, 2012
By
Le Monde puzzle (#800)

Here is the mathematical puzzle of the weekend edition of Le Monde: Consider a sequence where the initial number is between 1 and 10³, and each term in the sequence is derived from the previous term as follows: if the last digit of the previous term is between 6 and 9, multiply it by 9;

Read more »

d3, Shiny, and R Reporting Performance

December 14, 2012
By
d3, Shiny, and R Reporting Performance

I thought it would be interesting to offer a little different example of how we can use d3, R, and Rstudio Shiny.  This time we will offer a simple example to report portfolio or index performance.  Just as a test of my progress, I also threw...

Read more »

Let it snow!

December 14, 2012
By

A couple days ago I noticed a fun piece of R code by Allan Roberts, which lets you create a digital snowflake by cutting out virtual triangles. Go give it a try. Roberts inspired me to create a whole night sky of snowflakes. I tried to make the snowfall look as organic as possible. There

Read more »

Everything is a Network, featuring the sna package

December 14, 2012
By
Everything is a Network, featuring the sna package

We’ve gotten some requests, through the Ask us anything page, to do some plotting of networks. We may come back to this later, but today’s Gist shows how you can plot pretty much literally anything as a network. First, we go back to our

Read more »

Shiny, R, d3 Adaptation of Mike Bostock’s Calendar

December 13, 2012
By
Shiny, R, d3 Adaptation of Mike Bostock’s Calendar

The idea with all the posts http://timelyportfolio.blogspot.com/search/label/shiny was to learn both d3 and shiny by iterating through multiple experiments.  This example adaptation was my quickest yet at about 30 minutes.  Mike Bostock had d...

Read more »

Mapping GPS Tracks in R

December 13, 2012
By
Mapping GPS Tracks in R

This is an explanation of how I used R to combine all my GPS cycling tracks from my Garmin Forerunner 305.Converting to CSVYou can convert pretty much any GPS data to .csv by using GPSBabel. For importing directly from my Garmin, I used the comman...

Read more »

Fuzzy clustering with fanny()

December 13, 2012
By
Fuzzy clustering with fanny()

This is kind of a fun example, and you might find the fuzzy clustering technique useful, as I have, for exploratory data analysis. In this Gist, I use the unparalleled breakfast dataset from the smacof package, derive dissimilarities from breakfast it...

Read more »

Is invasive?

December 13, 2012
By
Is invasive?

The Global Invasive Species Database (GISD) (see their website for more info here) has data on the invasiveness status of many species. From taxize you can now query the GISD database. Introducing the function gisd_isinvasive. This function was contributed to taxize by Ignasi Bartomeus, a postdoc at the Swedish University Agricultural Sciences. There are two possible outputs from using...

Read more »

Is invasive?

December 13, 2012
By
Is invasive?

The Global Invasive Species Database (GISD) (see their website for more info here) has data on the invasiveness status of many species. From taxize you can now query the GISD database. Introducing the function gisd_isinvasive. This function was contributed to taxize by Ignasi Bartomeus, a postdoc at the Swedish University Agricultural Sciences. There are two possible outputs from using...

Read more »

more d3 with shiny and R (CPI from bls.gov)

December 12, 2012
By
more d3 with shiny and R (CPI from bls.gov)

Extending the marginal success achieved in d3 Showreel Combined with R and Shiny  d3 and r interacting through shiny I have converted http://bl.ocks.org/3891711 to use data supplied by an R load of http://bls.gov CPI data through Rstudio's Shin...

Read more »