Description Usage Arguments Details Examples
View source: R/extractDataPoints.R
This function extracts calibration points.
1 2 | extractDataPoints(numberOfPoints, numberOfPointsInRow = 7, type = "p",
pch = 4, col = "blue", lwd = 2, roundValue = 5)
|
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 |
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.
1 2 | prepareExtractionPlot("figure_7_Rogers_Commission_1986.png")
dataPoints <- extractDataPoints(24)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.