Package 'plunderplot'

Title: Plunder Points From Images Of Charts
Description: Interactively extract x and y point values from a PNG or JPEG image of a chart. Powered by the locator function.
Authors: Matt Dray [aut, cre]
Maintainer: Matt Dray <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-09-16 04:16:21 UTC
Source: https://github.com/matt-dray/plunderplot

Help Index


Plunder Points From A Plot

Description

Extract interactively the x and y coordinates from a plot provided as a PNG.

Usage

plunder(path, labels)

Arguments

path

Character. The local path to a plot..

labels

Logical. Get prompted to add labels to each point you extract?

Value

A data.frame with two columns (x and y) and a row for each point the user clicked. Three columns (x, y, labels) if labels is TRUE.

Examples

## Not run: plunder("example.png")