img2points | R Documentation |
A function to capture Speed Vs Power discrete points from power curve image
img2points(imagePath, n)
imagePath |
as Path of a power curve image |
n |
as number of points to be captured from the curve image (default value is 15) |
data.frame with two columns, i.e., wind speed and wind power
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.