donnie darko

Day 13: Sometimes I doubt my commitment to sparklines

The children are in bed. I am browsing the gallery of htmlwidgets. There is a sparkline widget. Sparklines look cute. I don’t know what I would use them for. I install it anyway. I load it. library(htmlwidgets) library(sparkline) I look at the sparkline documentation. I create a few small data sets. x <- rnorm(100) y <- dnorm(seq(-3,3,length.out = 100)) h <- hist(x,plot = FALSE)$counts v <- seq(0,4*pi,length.