# Monthly Archives: August 2013

## Shiny

August 14, 2013
By

I’ve been learning about some new data visualisation tools in R. My three favourite so far are GoogleVis, rCharts and Shiny. Here is a Shiny app I made showing the monthly employment flows of the Australian labour force.

## gridSVG Multi-line Data Bind with d3–US Treasury Yields

August 14, 2013
By

If you have not read the other posts on gridSVG and d3, I recommend reading those before progressing to this one. Facets or strips are one of my favorite features of lattice and ggplot2, so of course I want to extend our d3 reverse data bind to support these small multiples.  Let’s see one way of accomplishing...

## How do I re-arrange??: Ordering a plot revisited

August 14, 2013
By

Back in October of last year I wrote a blog post about reordering/rearanging plots. This was, and continues to be, a frequent question on list serves and R help sites. In light of my recent studies/presenting on The Mechanics of … Continue reading →

## predictNLS (Part 1, Monte Carlo simulation): confidence intervals for ‘nls’ models

August 14, 2013
By
$predictNLS (Part 1, Monte Carlo simulation): confidence intervals for ‘nls’ models$

Those that do a lot of nonlinear fitting with the nls function may have noticed that predict.nls does not have a way to calculate a confidence interval for the fitted value. Using confint you can obtain the error of the fit parameters, but how about the error in fitted values? ?predict.nls says: “At present se.fit

## Exposure as a possible explanatory variable

August 13, 2013
By
$Y_i$

Iin insurance pricing, the exposure is usually used as an offset variable to model claims frequency. As explained many times on this blog (e.g. here), and in my notes, if we have to identical drivers, but one with an exposure of 6 months, and the other one of one year, it should be natural to assume that, on average,...

## Multi-threaded OpenBLAS backported to recent Ubuntu releases

August 13, 2013
By

OpenBLAS is a multi-threaded BLAS library that has been available in Ubuntu for a while, minus the multi-threading. This has been fixed for the OpenBLAS package to be released in Saucy Salamander, and I have backported the package to the more recent r...

## The Brand as Affordance: Item Response Modeling of Brand Perceptions

August 13, 2013
By

It is just too easy to think of a brand as a web of associations.  What comes to mind when I say "Subway Sandwich"?  Did you remember a commercial or the "eat fresh" tagline?  Without much effort, one can generate a long list of associat...

## Visualizing Katrina’s strongest winds, with R

August 13, 2013
By

Here's a new picture of the devastation wrought by Katrina in 2005. This image shows the maximum wind speeds of the hurricane, not at any particular point of time, but over the duration of the entire storm: The data come from NOAA's H*Wind project, which makes windspeed data from sensors on the ground and floating in the ocean available...

## Temporal visualization of records of IndianMoths project using bdvis

August 13, 2013
By

I was looking for some data set which has some bias in terms of temporal data. I thought of checking out the data from iNaturalist project IndianMoths. This project is aimed at documenting moths from India. This project was initiated in July 2012 but really caught steam in January 2013, with members contributing regularly, minimum