knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
Get the data from a graph by providing calibration points
if(!require(devtools)) install.packages('devtools') devtools::install_github("tpoisot/digitize")
## make a temporary file tmp <- tempfile() png(tmp) plot(rnorm(10) + 1:10, xlab="x", ylab="y") dev.off() library(digitize) ## follow instructions on console, printed out below mydata <- digitize(tmp)
citation('digitize')
Works with three bitmap image formats (jpeg, png, bmp), automatically detecting
the image type using package readbitmap
.
Read a tutorial from Luke Miller.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.