1731 search results for "GIS"

Stamen maps with spplot

Stamen maps with spplot

Several R packages provide an interface to query map services (Google Maps, Stamen Maps or OpenStreetMap) to obtain raster images …

Continuar leyendo »

Read more »

Python Compliments R’s Shortcomings

April 23, 2013
By
Python Compliments R’s Shortcomings

I’m a big fan of open-source software for research. For example, R-statistics, Qgis, and Grass GIS are awesome programs. R can do any statistical tests and numerical modeling you can imagine; if there’s not a built-in function you can write … Continue reading

Read more »

Review: Kölner R Meeting 12 April 2013

April 23, 2013
By
Review: Kölner R Meeting 12 April 2013

Our 5th Cologne R user group meeting was the best attended meeting so far, with 20 members finding their way to the Institute of Sociology for two talks by Diego de Castillo on shiny and Stephan Holtmeier on cluster analysis, followed by beer and schnitzel at the Lux, a gastropub nearby.

Shiny

Diego gave an overview of...

Read more »

Upcoming GDAT Class May 6-10, 2013

April 22, 2013
By
Upcoming GDAT Class May 6-10, 2013

Enrollments are still open for the Level III Guerrilla Data Analysis Techniques class to be held during the week May 6—10. Early-bird discounts are still available. Enquire when you register. As usual, all classes are held at our lovely Larkspur...

Read more »

Veterinary Epidemiologic Research: Count and Rate Data – Poisson & Negative Binomial Regressions

April 22, 2013
By
Veterinary Epidemiologic Research: Count and Rate Data – Poisson & Negative Binomial Regressions

Still going through the book Veterinary Epidemiologic Research and today it’s chapter 18, modelling count and rate data. I’ll have a look at Poisson and negative binomial regressions in R. We use count regression when the outcome we are measuring is a count of number of times an event occurs in an individual or group

Read more »

2D plot with histograms for each dimension (2013 edition)

April 22, 2013
By
2D plot with histograms for each dimension (2013 edition)

In 2009, I wrote about a way to show density plots along both dimensions of a plot. When I ran the code again to adapt it to a new project, it didn't work because ggplot2 has become better in the meantime. Below is the updated code. Using the gridExtra...

Read more »

Using data.table for binning

Using data.table for binning

I discovered the impressive data.table package more than a year ago. In order to learn how to use it, I …

Continuar leyendo »

Read more »

Programmatically Download CORINE Land Cover Seamless Vector Data with R

April 21, 2013
By
Programmatically Download CORINE Land Cover Seamless Vector Data with R

Thanks to a helpful SO-Answer I was able to download all CLC vector data (43 zip-files) programmatically:




require(XML)

path_to_files dir.create(path_to_files)
setwd(path_to_files)

doc urls
# function to get zip file names
get_zip_name
# function to plug into sapply
dl_urls
# download all zip-files
sapply(urls, dl_urls)

# function for unzipping
try_unzip
# unzip all files in dir and delete them afterwards
sapply(list.files(pattern = "*.zip"),...

Read more »

What Is the Probability of a 16 Seed Beating a 1 Seed?

April 21, 2013
By
What Is the Probability of a 16 Seed Beating a 1 Seed?

Note: I started this post way back when the NCAA men's basketball tournament was going on, but didn't finish it until now. Since the NCAA Men's Basketball Tournament has moved to 64 teams, a 16 seed as never upset a 1 seed. You might be tempted to say ...

Read more »

R: Streets of France

April 19, 2013
By
R: Streets of France

I was Inspired from Ben Frys all Streets project. There he plotted all streets of the United States of America (about 240 million segments). I tried this first for the countries in Europe, France has about 22 million segments, with the goal to get an all street map of Europe. My data source originate from

Read more »