## New Australian data on the HMD

November 26, 2014
By

The Human Mortality Database is a wonderful resource for anyone interested in demographic data. It is a carefully curated collection of high quality deaths and population data from 37 countries, all in a consistent format with consistent definitions. I have used it many times and never cease to be amazed at the care taken to maintain

## How About a “Snowdoop” Package?

November 26, 2014
By

Along with all the hoopla on Big Data in recent years came a lot of hype on Hadoop.  This eventually spread to the R world, with sophisticated packages being...

## Confidence vs. Credibility Intervals

November 26, 2014
By
$\theta$

Tomorrow, for the final lecture of the Mathematical Statistics course, I will try to illustrate - using Monte Carlo simulations - the difference between classical statistics, and the Bayesien...

## Happy Thanksgiving | More Examples of XML + rvest with SVG

November 26, 2014
By

I did not intend for this little experiment to become a post, but I think the code builds nicely on the XML + rvest combination (also see yesterday’s post)...

## Slightly Advanced rvest with Help from htmltools + XML + pipeR

November 26, 2014
By

Hadley Wickham’s post “rvest: easy web scraping with R” introduces the fine new package rvest very well.  For those now yearning a slightly more advanced example with a little...

## MilanoR meeting: 18th December

November 26, 2014
By

MilanoR staff is happy to announce the next MilanoR mee

## The beautiful R charts in London: The Information Capital

November 26, 2014
By

If you've lived in or simply love London, a wonderful new book for your coffee-table is London: The Information Capital. In 100 beautifully-rendered charts, the book explores the data...

## Extracting NOAA sea surface temperatures with ncdf4

November 25, 2014
By

I’ve written previously about some example R scripts I created to extract sea surface temperature data from NOAA’s Optimum Interpolated Sea Surface Temperature products. If you want daily global...

## The gridGraphics Package (2014-03)

November 25, 2014
By

The gridGraphics package provides a function, grid.echo(), that can be used to convert a plot drawn with the graphics package to the same result drawn using grid. This provides...

## RStudio shortcuts (Windows) – for cleaner and faster coding

November 25, 2014
By

RStudio has a number of keyboard shortcuts that make for cleaner and faster coding. I put all the Windows shortcuts that I use onto a single page so that I...

## An Update on Flexible Asset Allocation

November 25, 2014
By

A few weeks back, after seeing my replication, one of the original authors of the Flexible Asset Allocation paper got … Continue reading →

## What’s the most popular German car where you live?

November 25, 2014
By

by Tim Winke PhD student in Demography and Social Sciences in Berlin This post has been abstracted from Tim's entry to a contest that Dalia Research is running based...

## Improving base-R examples

November 25, 2014
By

Earlier today I saw the hundred bazillionth question about how to use the paste function. My initial response was “take a look at example(paste) to see how it works”....

## Rcpp now used by 300 CRAN packages

November 25, 2014
By

This morning, Rcpp reached another round milestone: 300 packages on CRAN now depend on it (as measured by Depends, Imports and LinkingTo declarations). The graph is on the...

## Should we fit maximal linear mixed models?

November 25, 2014
By

Recently, Barr et al published a paper in the Journal of Memory and Language, arguing that we should fit maximal linear mixed models, i.e., fit models that have a...

## How cold is it? A Bayesian attempt to measure temperature

November 25, 2014
By

It is getting colder in London, yet it is still quite mild considering that it is late November. Well, indoors it still feels like 20°C (68°F) to me, but...

## analyze the national longitudinal surveys (nls) with r

November 25, 2014
By

as the oldest panel survey out there, the bureau of labor statistics' national longitudinal surveys (nls) have been operating so long that justin bieber's grandparents might be too young...

## Circlizing Numbers

November 24, 2014
By

She makes the sound the sea makes to calm me down (Dissolve Me, Alt-J) Searching how to do draw chord diagrams in the Internet with ggplot2 I found a very-easy-to-use...

## YATORP — Yet Another Tutorial on R Packaging

November 24, 2014
By

What the world needs right now is yet another tutorial on R packages and their creation. Luckily, this last Friday and Saturday, I had the opportunity to present...

## Performing Logistic Regression in R and SAS

Introduction My statistics education focused a lot on normal linear least-squares regression, and I was even told by a professor in an introductory statistics class that 95% of statistical...

## Secret to Making Things Appear in RStudio Viewer

November 24, 2014
By

I am by no means an authoritative source on this, but I think I found out the secret behind htmltools html_print that chooses the RStudio Viewer browser rather than...

## Pipeline to Plot Annual % Change

November 24, 2014
By

Pipes in R make my life incredibly easy, and I think my code easier to read.   Note, there are a couple different flavors of pipes (see magrittr and pipeR). ...

## The data.table Cheat Sheet

November 24, 2014
By

The data.table package provides an enhanced version of data.frame that allows you to do blazing fast data manipulations. data.table is being used in different fields such as finance and genomics, and is...

## Twitter’s R package for detecting breakouts in time series

November 24, 2014
By

With so many more devices and instruments connected to the "Internet of Things" these days, there's a whole lot more time series data available to analyze. But time series...

## rvest: easy web scraping with R

November 24, 2014
By

rvest is new package that makes it easy to scrape (or harvest) data from html web pages, by libraries like beautiful soup. It is designed to work with magrittr...

## R and Data Mining Workshop at AusDM 2014, Brisbane, 27 November

November 24, 2014
By

R and Data Mining Workshop at AusDM 2014 http://ausdm14.ausdm.org/workshop There will be a half-day workshop on R and Data Mining at the AusDM 2014 conference in Brisbane, Thursday afternoon,...

## GTrendsR package to Explore Google trending for Field Dependent Terms

November 24, 2014
By

My friend, Steve Simpson, introduced me to Philippe Massicotte and Dirk Eddelbuettel’s GTrendsR GitHub package this week. It’s a pretty nifty wrapper to the Google Trends API that enables...

## an ABC experiment

November 23, 2014
By

In a cross-validated forum exchange, I used the code below to illustrate the working of an ABC algorithm: Hence I used the median and the mad as my...