2729 search results for "gis"

DST is a b!tch, be careful with POSIX in a stupid timezone

April 27, 2011
By
DST is a b!tch, be careful with POSIX in a stupid timezone

At the department we have been analyzing some transaction data for some time. We got a new dataset with lots of transactions. Once you need interpurchase (IPT) times, posix is quite useful, as you can easily difference transactions to generate IPTs.So ...

Read more »

Plotting Maps with R

April 26, 2011
By
Plotting Maps with R

I stumbled upon this tutorial while not studying and I thought it would be fun to try and plot maps of the San Francisco Bay Area household income, education, population density, poverty, etc...To do this I needed a Shapefile for the Bay Area zip codes similar to the London borough file used in...

Read more »

New functions for linear model inference in Revolution R Enterprise 4.3

April 26, 2011
By

The latest release of Revolution R Enterprise shows how Revolution Analytics’ package for big data, RevoScaleR, is continuing add new capabilities for Big Data statistics. RevoScaleR removes the limits on the size of the data that can be processed in R through the use of the highly efficient .Xdf binary file format. Xdf stores data by rows within columns...

Read more »

Automatically Save Your Plots to a Folder

April 26, 2011
By
Automatically Save Your Plots to a Folder

Suppose you're working on a problem that involves a loop for calculations. At each iteration inside the loop, you want to construct a plot. Not only do you want to see the plot, but you would like to save each plot for a presentation, report or paper...

Read more »

Automatically Save Your Plots to a Folder

April 26, 2011
By
Automatically Save Your Plots to a Folder

Suppose you're working on a problem that involves a loop for calculations. At each iteration inside the loop, you want to construct a plot. Not only do you want to see the plot, but you would like to save each plot for a presentation, report or paper...

Read more »

Running Phylip’s contrast application for trait pairs from R

April 26, 2011
By
Running Phylip’s contrast application for trait pairs from R

Here is some code to run Phylip's contrast application from R and get the output within R to easily manipulate yourself. Importantly, the code is written specifically for trait pairs only as the regular expression work in the code specifically grabs da...

Read more »

Statistical Practice in Epidemiology using R

April 26, 2011
By
Statistical Practice in Epidemiology using R

This is a long running course which usually takes place in Tartu, Estonia. This year we are hosting it at IARC in Lyon, France. The course is intended for epidemiologists and statisticians who wish to use R  for statistical modelling … Continue reading →

Read more »

A Tiny Model of Evolution

April 25, 2011
By
A Tiny Model of Evolution

I've always wanted to write a(n overly) simple model of evolution. The assumptions are minimalistic: only one species, for which each individual's genotype is represented as a one-dimensional real number, e.g. 7.4. Now, the fun stuff: I define a fu...

Read more »

Annotated Manhattan plots and QQ plots for GWAS using R, Revisited

April 25, 2011
By
Annotated Manhattan plots and QQ plots for GWAS using R, Revisited

Last year I showed you how to create manhattan plots, and later how to highlight regions of interest, using ggplot2 in R. The code was slow, required a lot of memory, and was difficult to maintain and modify.I finally found time to rewrite the code usi...

Read more »

R workshop in Hamilton, Ontario, May 24 and 25

April 25, 2011
By

John Fox will be teaching a two-day introductory R workshop at McMaster University in Hamilton, Ontario, on May 24 and 25. The workshop will largely be based on materials from Fox and Weisberg, An R Companion to Applied Regression, Second Edition (Sage, 2011). Further information about the workshop is available at: https://www.socialsciences.mcmaster.ca/registrations/john-fox-introduction-to-r/fg_base_view_p3. A few spaces in the workshop are reserved for non-McMaster attendees and made...

Read more »