knitr::opts_chunk$set(
               collapse = TRUE,
                 comment = "#>",
                 fig.path = "README-"
             )

CRAN_Status_Badge Travis-CI Build Status Codecov branch

digitize : a plot digitizer in R

Get the data from a graph by providing calibration points

Install

if(!require(devtools)) install.packages('devtools')
devtools::install_github("tpoisot/digitize")

How to use it (version 0.0.3 and up)

## 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

citation('digitize')

Image Types

Works with three bitmap image formats (jpeg, png, bmp), automatically detecting the image type using package readbitmap.

Earlier versions

Read a tutorial from Luke Miller.



tpoisot/digitize documentation built on May 31, 2019, 6:49 p.m.