Monthly Archives: September 2012

Next Kölner R User Meeting: 5 October 2012

September 25, 2012
By
Next Kölner R User Meeting: 5 October 2012

The next Cologne R user group meeting is scheduled for 5 October 2012. All details and the agenda are available on the KölnRUG Meetup site. Please sign up if you would like to come along. Notes from the last Cologne R user group meeting are available ...

Read more »

Formula for Kickstarter Success: Copious Planning (just like real life)

September 24, 2012
By
Formula for Kickstarter Success: Copious Planning (just like real life)

It seems like the press can’t wait two days between awful depressing articles about how Kickstarter encourages fraud, broken promises, and tears.  Today I’d like to take you through a project thatshipped — let’s see what we can learn.  I interviewed Diana Rodgers of Wonder Threads.     Diana sought funding to expand her tech … Continue reading...

Read more »

Transition probabilities when adjacent sequence items must be different

September 24, 2012
By

Generating a random sequence from a fixed set of items is a common requirement, e.g., given the items A, B and C we might generate the sequence BACABCCBABC. Often the randomness is tempered by requirements such as each item having each item appear a given number of times in a sequence of a given length,

Read more »

Learn R and Python, and Have Fun Doing It

September 24, 2012
By

If you need to catch up on all those years you spent not learning how to code (you need to know how to code), here are a few resources to help you quickly learn R and Python, and have a little fun doing it.First, the free online Coursera course Co...

Read more »

From continuous to categorical

September 24, 2012
By
From continuous to categorical

During data analysis, it is often super useful to turn continuous variables into categorical ones.  In Stata you would do something like this:gen catvar=0replace catvar=1 if contvar>0 & contvar<=3replace catvar=2 if contvar>3 & co...

Read more »

Data Frames and Transactions

September 24, 2012
By

Transactions are a very useful tool when dealing with data mining.  It provides a way to mine itemsets or rules on datasets. In R the data must be in transactions form.  If the data is only available in a data.frame then to create (or coerce) the data frame to transaction the researcher may use the

Read more »

Coursera’s free online R course starts today

September 24, 2012
By

Coursera offers a number of on-line courses, all available for free and taught by experts in their fields. Today, the course Computing for Data Analysis begins. Taught by Johns Hopkins Biostatistics professor (and co-author of the Simply Statistics blog) Roger Peng, the course will teach you how to program in R and use the language for data analysis. Here's...

Read more »

An R Users’ Group in Davis

September 24, 2012
By

I’m excited to share that we’ve started a new R users’ group at UC Davis! Right now our main purpose is to run weekly 2-hour work/hack sessions where R users can get together to work through problems together. More info here

Read more »

Example 10.3: Enhanced scatterplot with marginal histograms

September 24, 2012
By
Example 10.3: Enhanced scatterplot with marginal histograms

Back in example 8.41 we showed how to make a graphic combining a scatterplot with histograms of each variable. A commenter suggested we change the R graphic to allow post-hoc plotting of, for example, lowess lines. In addition, there are further refinements to be made. In this R-only entry, we'll make the figure...

Read more »

Use GBIF and googleVis to Make Maps with Species Occurrence Data

September 24, 2012
By
Use GBIF and googleVis to Make Maps with Species Occurrence Data

This is a short follow up on THIS posting.. I will briefly show how to use the dismo- and the googeVis package to plot species occurrences on an interactive Google map, like the one below (HERE is the R-script)MapID2ce4348e653