jquery Sparkline HTML Widget"

library(htmlwidgets)
library(sparkline)
set.seed(1234)
x = rnorm(10)
y = rnorm(10)

Inline line graphs r sparkline(x)

Bar charts r sparkline(abs(x), type = 'bar') negative values: r sparkline(x, type = 'bar')

Include in tables

| Stock | Sparkline | Boxplot
|-------|-------------------|-------- | x | r sparkline(x) | r sparkline(x, type ='box') | y | r sparkline(y) | r sparkline(y, type ='box')



Try the sparkline package in your browser

Any scripts or data that you put into this service are public.

sparkline documentation built on May 30, 2017, 2:18 a.m.