Twitter Code Snippets
Published:
140 character twitter code.
140 character code
The other day, @BlasMBenito posted this on twitter. Using a support vector machine to do species distribution modelling. All in 140 characters.
I suggested a couple of edits to include the package information (kernlab and dismo) yielding this.
I had done a bit of squishing fun code in 140 characters before. Here is a go at bootstrapping a regression p-value. This was on of the first things I posted on @statsforbios.
That same day, @GraemeTLloyd posted (in two tweets) some code that installs packages, and makes a very nice phylogeny with a straigraphic timeline. I did a bit of fiddling to get it into one tweet.
So, all these people doing good stuff in 140 characters prompted me to have another go. Unfortunately my brain was working quite poorly that day. I did manage to get the generation of a logistic map into 140 characters. But it is about the slowest, least efficient R code I have ever written. So, the output with these parameters is an incredibly course logistic map.
So there you are! Some fun stuff in 140 characters. I’ll have another go sometime. I think I did a neural network once. Who knows.