# 3618 search results for "gis"

## Creepypasta – Votes vs. Rating (& learning ggplot2)

February 8, 2014
By

Excel: R, base package:R, ggplot:Am I overfitting? Probably.Code: More fun stuff to come....ReferencesSource data at Creepypasta.com:http://www.creepypasta.com/creepypasta-ratings-index/Code on gist:http://gist.github.com/mylesmharrison/8886272Creepypa...

## Package Version Increment Pre- and Post-commit Hooks

Package Version Increment Pre- and Post-commit Hooks If you just want the hook scripts, check this gist. If you want to know some of the motivation behind writing them, and about the internals, then read on. Package Version Incrementing A good practice to get into is incrementing the minor version number (i.e. going from 0.0.1 to 0.0.2) after each git commit...

## Hodograph drawing

February 8, 2014
By

Introduction The polar graph known as a hodograph can be useful for vector plots, and also for showing varition within nearly-cyclical time series data. The Oce R package should have a function to create hodographs, but as usual my first step is to start by writing isolated code, testing to find the right match between the function and real-world...

## Better living through zero-one inflated beta regression

February 6, 2014
By

Dealing with proportion data on the interval \$\$ is tricky. I realized this while trying to explain variation in vegetation cover. Unfortunately this is a true proportion, and can’t be made into a binary response. Further, true 0’s and 1’s rule out beta regression. You could arcsine square root transform the data (but shouldn’t; Warton and Hui 2011)....

## Compare Regression Results to a Specific Factor Level in R

February 6, 2014
By

Including a series of dummy variables in a regression in R is very simple. For example,ols <- lm(weight ~ Time + Diet, data = ChickWeight)summary(ols) The above regression automatically includes a dummy variable for all but the first level of the factor of the Diet variable.Call:lm(formula = weight ~ Time...

## Online R and Plotly Graphs: Canadian and U.S. Maps, Old Faithful with Multiple Axes, & Overlaid Histograms

February 6, 2014
By

Guest post by Matt Sundquist of plot.ly. Plotly is a social graphing and analytics platform. Plotly’s R library lets you make and share publication-quality graphs online. Your work belongs to you, you control privacy and sharing, and public use is free (like GitHub). We are in beta, and would love your feedback, thoughts, and advice.

## ggPlot2: Histogram with jittered stripchart

February 5, 2014
By

Here is an example of a Histogram plot, with a stripchart (vertically jittered) along the x side of the plot.Alternatively, using the geom_rug function:Of course this simplicistic method need to be adjusted in vertical position of the stripchart or rug...

## In case you missed it: January 2014 roundup

February 5, 2014
By

In case you missed them, here are some articles from January of particular interest to R users: Princeton’s Germán Rodríguez has published a useful “Introduction to R” guide, with a focus on linear and logistic regression. The rxDForest function in the RevoScaleR package fits random forests of histogram-binning trees. A tutorial on using the xts package to analyze and...

## Census Open Atlas Project Version Two

February 5, 2014
By

This time last year I published the first version of the 2011 Census Open Atlas which comprised Output Area Level census maps for each local authority district. This turned out to be quite a popular project, and I have also extended this to Japan. The methods used to construct the atlases have now been refined,...

## Craig Bellamy – quite dplyr

February 4, 2014
By

This weekend brought a couple of firsts in Cardiff’s winner against Norwich After a wretched time at Manchester United, Wilfried Zaha recorded his first Premiership assist, whilst, more interestingly, Craig Bellamy became the first player in history to score for seven different Premier League clubs To celebrate, I thought it was worth taking a quick