Description Usage Arguments Details Value Note Author(s) References See Also Examples
NOT CALLED BY USER. The automapPts function is utilized by makeImap to retrieve the up.left and lower.right pixil coordinates of a desired interactive figure
1 2 3 4 5 | automapPts(Splot,
fname.root="Splot",
boundFileName="SplotDot",
dir="./",
automap.method="mode")
|
Splot |
An object of the class Splot |
fname.root |
Base name of the static version of plots |
boundFileName |
Base name of the version of plots with the given figure's additional bounding points displayed |
dir |
directory path to where files were created |
automap.method |
Method to detect upper and lower bounds. Current options are "mode" or "median" |
This function retrieves the up.left and lower.right pixil coordinates
of a desired interactive figure.
The function assumes that a 'clean' image without additional bounding
points and a 'bounding' image that has additional bounding points (see
addBounding
) are created. It converts these images to
.tif files and uses the rtiff package readTiff to compare the images
for differences, thus picking up the additional points.
A list with up.left and low.right bounding coordinates in pixils or NA if could not map correctly
NOT CALLED BY USER. INTERNAL HELPER FUNCTION
utilizes readTiff from rtiff library
Lori A.Shepherd, Daniel P.Gaile
Eric Kort (2006). rtiff: A tiff reader for R.. R package version 1.1.
makeImap
, rtiff
, getBounds
, mapMethod
1 | # not called by user
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.