2722 search results for "gis"

My first R package: parallel differential evolution

January 23, 2012
By
My first R package: parallel differential evolution

Last night I was working on a difficult optimization problems, using the wonderful DEoptim package for R. Unfortunately, the optimization was taking a long time, so I thought I'd speed it up using a foreach loop, which resulted in the fo...

Read more »

Cluster your Facebook friends

January 22, 2012
By
Cluster your Facebook friends

Last week, I came across two interesting posts by Romain François and Petr Simecek: Crawling Facebook with R, in which Romain explains how to connect to the Facebook Graph API Mining Facebook Data: Most “Liked” Status and Friendship Network, in which Petr use Romain’s function to visualize your friend’s network. As coincidence would have it, I also came across an...

Read more »

A Quick View Over a MASHe Google Spreadsheet Twitter Archive of UKGC12 Tweets

January 20, 2012
By
A Quick View Over a MASHe Google Spreadsheet Twitter Archive of UKGC12 Tweets

Following on from A Tool Chain for Plotting Twitter Archive Retweet Graphs – Py, R, Gephi, here’s a quick view summary view over #UKGC12 tweets saved in Google Spreadsheet archive as developed by Martin Hawksey, generated from an R script (R code available here; #ukgc12 tweet archive here)… (I did mean to tidy these up,

Read more »

Object Oriented Programming in R

January 20, 2012
By

As someone who was a Java programmer for many years learning R’s object oriented programming framework has been frustrating to say the least. I like the simplicity of S3 but find it limiting when you wish to write methods that change the underlying data elements. That is, printing, summarizing, and plotting work great because they

Read more »

Hadley Wickham goes behind the scenes on ggplot2

January 20, 2012
By
Hadley Wickham goes behind the scenes on ggplot2

Hadley Wickham, creator of the ggplot2 packages for R (as well as several others) will present a webinar on February 8 going behind the scenes of the popular graphics package. If you've never used ggplot2 before, this will be a great way to learn about the kinds of charts you can create with it; and if you're a regular...

Read more »

Power and Sample Size for Repeated Measures ANOVA with R

January 20, 2012
By
Power and Sample Size for Repeated Measures ANOVA with R

Background One of my colleagues is an academic physical therapist (PT), and he's working on a paper to his colleagues related to power, sample size, and navigating the thicket of trouble that surrounds those two things. We recently got together to walk through some of the issues, and I thought I would share some of the wildlife we observed...

Read more »

Knitr is Awesome!

January 19, 2012
By

I love TikZ in LaTeX and I use it exclusively when writing figures for my papers. I also use the tikzDevice package to convert all figures I create in R to TikZ code, so the font used in the text and figures is the same (and having your R figures in Ti...

Read more »

Scoping functions in R

January 19, 2012
By

I want to test embedding source code in the blog by using the handy Gist tool provided by GitHub. These two R functions are a good opportunity to test out embedding a Gist on the website. These functions allow for threshold testing within a vector in R...

Read more »

Winning from losing

January 19, 2012
By
Winning from losing

By following twitter’s #rstats hashtag (rss feed), I recently came across a very interesting R-related blog: datanalytics.com. The first post I read from it was about setting up an on-line reading group to go through the excellent “The Elements of … Continue reading →

Read more »

When can we expect the last damn microarray paper?

January 18, 2012
By
When can we expect the last damn microarray paper?

With bonus R codeIt came as a shock to learn from PubMed that almost 900 papers were published with the word "microarray" in their titles last year alone, just 12 shy of the 2010 count. More alarming, many of these papers were not of the innocuous "Microarray study of gene expression in dog scrotal tissue" variety, but dry...

Read more »