extractDataPoints: extractDataPoints

Description Usage Arguments Details Examples

View source: R/extractDataPoints.R

Description

This function extracts calibration points.

Usage

1
2
extractDataPoints(numberOfPoints, numberOfPointsInRow = 7, type = "p",
  pch = 4, col = "blue", lwd = 2, roundValue = 5)

Arguments

numberOfPoints

the number of datapoints to extract

numberOfPointsInRow

the number of points printed per row in output

type

same as pch in bas graphics

pch

same as pch base graphics

col

same as col in base graphics

lwd

same as lwd in base graphics

roundValue

number of decimal points to round text output

Details

To use this function first prepare an extraction plot using the prepareExtractionPlot function.

Count the number of points in the dataset to be extracted.

Run the function

Click on every point in the dataset

The text printed from this function can be copied directly as R code. This way the image does not need to be recalibrated every time the code is run.

Examples

1
2
prepareExtractionPlot("figure_7_Rogers_Commission_1986.png")
dataPoints <- extractDataPoints(24)

Agriculturist/SimpleDigitizeR documentation built on July 28, 2020, 4:22 a.m.