2721 search results for "gis"

Using Ggplot2 to plot last.fm top 100 albums

March 22, 2012
By
Using Ggplot2 to plot last.fm top 100 albums

I found out that last.fm had made data files available for their Best of 2011 artist list, and I thought it'd be a great opportunity to learn some more about data management in R and Ggplot2.

Read more »

Example 9.24: Changing the parameterization for categorical predictors

March 22, 2012
By
Example 9.24: Changing the parameterization for categorical predictors

In our book, we discuss the important question of how to assign different parameterizations to categorical variables when fitting models (section 3.1.3). We show code in R for use in the lm() function, as follows:lm(y ~ x, contrasts=list(x,"contr.trea...

Read more »

Montreal R Workshop: Introduction to Bayesian Methods

March 22, 2012
By
Montreal R Workshop: Introduction to Bayesian Methods

Monday, March 26, 2012  14h-16h, Stewart Biology N4/17 Corey Chivers, Department of Biology McGill University This is a meetup of the Montreal R User Group. Be sure to join the group and RSVP. More information about the workshop here. Topics Why would we want to be Bayesian in the first place?  In this workshop we

Read more »

Using R for a salary negotiation–an extension of decision tree models

March 21, 2012
By
Using R for a salary negotiation–an extension of decision tree models

Let’s say you are in the middle of a salary negotiation, and you want to know whether you should be aggressive in your offering or conservative. One way to help with the decision is to make a decision tree. We’ll work with the following assumptions: You are at a job currently making $50k You have the choices between...

Read more »

Geocode and reverse geocode your data using, R, JSON and Google Maps’ Geocoding API

March 20, 2012
By

Geocode and reverse geocode your data using, R, JSON and Google Maps' Geocoding APITo geocode and reverse geocode my data, I use Google's Geocoding service which returns the geocoded data in a JSON. I will recommend that you register with Google Maps A...

Read more »

New R User Group in Montréal

March 20, 2012
By

The Biology Department at McGill University in Québec, Canada has been running a series of R workshops since 2010. Past topics have included Generalized Additive Models, Linear Mixed-effects Models and a four-part Intro to R series -- follow the links and look at the bottom of each page for some very useful course notes. Over the past year the...

Read more »

Monty Hall Simulations

March 20, 2012
By

Using R I'm doing a lot of simulations of the classic monty hall-problem and plotting multiple simulations using ggplot2.

Read more »

mvabund – new R pkg for multivariate abundance data

March 19, 2012
By
mvabund – new R pkg for multivariate abundance data

There is a new R package in town, mvabund, which does, as they say "statistical methods for analysing multivariate abundance data". The authors introduced the paper in an online early paper in Methods in Ecology and Evolution here, R package here. Th...

Read more »

Solving easy problems the hard way

March 17, 2012
By
Solving easy problems the hard way

There’s a charming little brain teaser that’s going around the Interwebs. It’s got various forms, but they all look something like this: This problem can be solved by pre-school children in 5-10 minutes, by programer – in 1 hour, by people with higher education … well, check it yourself!  8809=6 7111=0 2172=0 6666=4 1111=0 3213=0 7662=2 9313=1 0000=4 2222=0 3333=0 5555=0 8193=3 8096=5 7777=0 9999=4 7756=1 6855=3 9881=5 5531=0 2581=? SPOILER ALERT… The answer has to do with how many

Read more »

Montreal R Workshop: Likelihood Methods and Model Selection

March 16, 2012
By
Montreal R Workshop: Likelihood Methods and Model Selection

Monday, March 19, 2012  14h-16h, Stewart Biology N4/17 Corey Chivers, McGill University Department of Biology This workshop will introduce participants to the likelihood principal and its utility in statistical inference.  By learning how to formalize models through their likelihood function, participants will learn how to confront these models with data in order to make statistical

Read more »