Description Usage Arguments Value Author(s) References
View source: R/digitize_graph.R
Digitizes one or multiple data sets within a single figure. One or both axes might be logarithmic. The user needs to define to values on both axes for calibration purposes. It´s not necessary to specify the global minimum or maximum values but coordinates that are possible to define precisely.
1 2 3 4 5 6 7 8 9 10 11 |
fname |
Filename or path of the graphic to read |
x_min |
Minimum value on the horizontal axis |
x_max |
Maximum value on the horizontal axis |
y_min |
Minimum value on the vertical axis |
y_max |
Maximum value on the vertical axis |
data_sets |
defines how many data_sets will be extracted from the graph |
labels |
character vector containing labels for data_sets |
log |
defines logarithmic scales. By default scaling is assumed to be linear |
plot |
If TRUE, the extracted data is plotted |
a data frame
Meinolf Ottensmann
This functions is adopted from a blog post by Bart Rogiers: http://rogiersbart.blogspot.de/2012/06/digitize-linear-and-semi-log-scale.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.