2738 search results for "GIS"

Fuzzy clustering with fanny()

December 13, 2012
By
Fuzzy clustering with fanny()

This is kind of a fun example, and you might find the fuzzy clustering technique useful, as I have, for exploratory data analysis. In this Gist, I use the unparalleled breakfast dataset from the smacof package, derive dissimilarities from breakfast it...

Read more »

Is invasive?

December 13, 2012
By
Is invasive?

The Global Invasive Species Database (GISD) (see their website for more info here) has data on the invasiveness status of many species. From taxize you can now query the GISD database. Introducing the function gisd_isinvasive. This function was contributed to taxize by Ignasi Bartomeus, a postdoc at the Swedish University Agricultural Sciences. There are two possible outputs from using...

Read more »

Is invasive?

December 13, 2012
By
Is invasive?

The Global Invasive Species Database (GISD) (see their website for more info here) has data on the invasiveness status of many species. From taxize you can now query the GISD database. Introducing the function gisd_isinvasive. This function was contributed to taxize by Ignasi Bartomeus, a postdoc at the Swedish University Agricultural Sciences. There are two possible outputs from using...

Read more »

Multidimensional metric unfolding with SMACOF

December 12, 2012
By
Multidimensional metric unfolding with SMACOF

SMACOF stands for “Scaling by MAjorizing a COmplicated Function,” and it is a multidimensional scaling algorithm for metric unfolding of, among other things, rectangular ratings matrices. One neat Political Science application of MDS is i...

Read more »

Multidimensional scaling of REM album covers: FlagSpace revisited

December 11, 2012
By
Multidimensional scaling of REM album covers: FlagSpace revisited

By way of following up on an old in-joke, and doing something constructive because I couldn’t get to sleep, I thought I would revisit the Flag Space plot that I blogged about a while back and learn how to do it. … Continue reading →

Read more »

Visualizing Baltimore 3.1: Crime and Vacant Properties, Neighborhood Level, Bit More Polished

December 11, 2012
By
Visualizing Baltimore 3.1: Crime and Vacant Properties, Neighborhood Level, Bit More Polished

Redos of the plots from this post: Bit more communicative, though the overplotting is a bit annoying. Code: ## gis libraries library(spBayes) library(MBA) library(geoR) library(fields) library(sp) library(maptools) library(rgdal) library(classInt) library(lattice) library(xtable) library(spatstat) library(splancs)   ## Other packages library(ggplot2) library(foreign) library(stringr)...

Read more »

US State Maps using map_data()

December 11, 2012
By
US State Maps using map_data()

Today’s short post will show how to make a simple map using map_data(). Let’s assume you have data in a CSV file that may look like this: Notice the lower case state names; they will make merging the data much easier. The variable of inte...

Read more »

XLLoop examples

December 10, 2012
By
XLLoop examples

Today I want to follow up with the XLLoop framework post. Please read the XLLoop framework post first to setup the XLLoop before trying the examples below. My first example is based on the TFX Package – to retrieve real-time FX quotes. To try this example, please first install the TFX Package. Please note that

Read more »

Visualizing Baltimore 3: Crime and Vacant Properties, Neighborhood Level

December 10, 2012
By
Visualizing Baltimore 3: Crime and Vacant Properties, Neighborhood Level

A few quick plots of West Baltimore neighborhoods, first Sandtown-Winchester: and Harlem Park: These aren’t very polished, I’ll put up better versions. Here’s the code for those that want it: ## gis libraries library(spBayes) library(MBA) library(geoR) library(fields) library(sp) library(maptools) library(rgdal)...

Read more »

Visualizing Baltimore 2: Vacant Property and Some More Crime

December 10, 2012
By
Visualizing Baltimore 2: Vacant Property and Some More Crime

One of the key predictors in my model for this crime project I’m working on is vacant houses and lots. I’ll speak to some findings about the relationship between levels of the different types of crime and vacant property in...

Read more »