5038 search results for "git"

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 »

Plugging hierarchical data from R into d3

November 20, 2013
By
Plugging hierarchical data from R into d3

Here I show how to convert tabulated data into a json format that can be used in d3 graphics. The motivation for this was an attempt at getting an overview of topic models (link). Illustrations like the one to the right are very attractive; my motivati...

Read more »

Sending data from client to server and back using shiny

November 20, 2013
By
Sending data from client to server and back using shiny

After some time of using shiny I got to the point where I needed to send some arbitrary data from the client to the server, process it with R and return some other data to the client. As a client/server programming newbie this was a challenge for me as I did not want to dive

Read more »