4696 search results for "git"

Ranked Choice Voting

November 25, 2013
By
Ranked Choice Voting

The city of Minneapolis recently elected a new mayor. This is not newsworthy in and of itself, however the method they used was—ranked choice voting. Ranked choice voting is a method of voting allowing voters to rank multiple candidates in order of preference. In … Continue reading →

Read more »

Just for fun: attractors in R

November 24, 2013
By
Just for fun: attractors in R

I have a borderline unhealthy obsession with attractors. I thought I got it out of my system, but here we are. For whatever reason, I felt like making some in R.You can find the R code here. It uses the attractor function to define density in a ma...

Read more »

R: Mapping Super Typhoon Yolanda (Haiyan) Track

November 24, 2013
By
R: Mapping Super Typhoon Yolanda (Haiyan) Track

After reading Enrico Tonini post, I decided to map the super typhoon Haiyan track using OpenStreetMap, maptools, and ggplot2. If mapping with googleVis was possible with 13 lines only, that can also be achieved with the packages I used; but because I p...

Read more »

New R package emdatr: Global Disaster Losses from the EM-DAT Database

November 22, 2013
By

The International Disaster Database EM-DAT from the Center for Research on the Epidemiology of Disasters (CRED, Belgium) is often used as a reference for losses on human life and property resulting from natural and man-made disasters. This databas...

Read more »

Results of an Informal Survey of R users

November 22, 2013
By
Results of an Informal Survey of R users

# This post does some basic correlation analysis between responses# to the survey I recently released through R Shiny at:http://www.econometricsbysimulation.com/2013/11/Shiny-Survey-Tool.html # I have saved the data from the survey after completin...

Read more »

Easy Laplace Approximation of Bayesian Models in R

November 21, 2013
By
Easy Laplace Approximation of Bayesian Models in R

Thank you for tuning in! In this post, a continuation of Three Ways to Run Bayesian Models in R, I will: Handwave an explanation of the Laplace Approximation, a fast and (hopefully not too) dirty method to approximate the posterior of a Bayesian model. Show that it is super easy to do Laplace approximation in R, basically four...

Read more »

Comparison Among Groups with Francis Parameterization

November 21, 2013
By
Comparison Among Groups with Francis Parameterization

In my last post, I suggested that the Francis parameterization of the von Bertalanffy growth model may be used in cases where the typical parameterization did not converge (likely due to issues related to highly correlated parameters and data with … Continue reading →

Read more »

R and Bayesian Statistics

November 21, 2013
By
R and Bayesian Statistics

by Joseph Rickert Drew Linzer, the Bayesian statistician who attracted considerable attention last year with his spot-on, R-based forecast of the 2012 presidential election, recently gave a tutorial on Bayesian statistics to the Bay Area useR Group (BARUG). Drew covered quite a bit of ground running R code that showed how to make use of WinBugs, JAGS and Stan,...

Read more »

rgbif changes in v0.4

November 21, 2013
By

The Global Biodiversity Information Facility (GBIF) is a warehouse of species occurrence data - collecting data from a lot of different sources. Our package rgbif allows you to interact with GBIF from R. We interact with GBIF via their Application Programming Interface, or API. Our last version on CRAN (v0.3) interacted with the older version of their API -...

Read more »

How to format plots for publication using ggplot2 (with some help from Inkscape)

November 20, 2013
By
How to format plots for publication using ggplot2 (with some help from Inkscape)

The following is the code from a presentation made by Rosemary Hartman to the Davis R Users’ Group. I’ve run the code through the spin function in knitr to produce this post. Download the script to walk through here. First, make your plot. I am going to use the data already in R about sleep habits...

Read more »