img2points {WindCurves} | R Documentation |
A function to capture Speed Vs Power discrete points from power curve image
Description
A function to capture Speed Vs Power discrete points from power curve image
Usage
img2points(imagePath, n)
Arguments
imagePath |
as Path of a power curve image |
n |
as number of points to be captured from the curve image (default value is 15) |
Value
data.frame with two columns, i.e., wind speed and wind power
Examples
## Not run:
# to import image from system 'extdata' folder.
# user can directly specify the path of the image in 'img2points()'.
imagePath <- system.file("extdata","powercurve.jpeg", package="WindCurves")
img2points(imagePath)
## End(Not run)
[Package WindCurves version 0.2 Index]