View source: R/makeCompoundPlot.R
makeCompoundPlot | R Documentation |
Make overall summary plot from two rasterlayer surfaces.
makeCompoundPlot( rast1, rast2, rastnames = c("Summer", "Winter"), myEllipses, species, summaryTable = NULL, pngSaveFileName = FALSE, ... )
rast1 |
First input rasterLayer |
rast2 |
Second input rasterLayer |
rastnames |
Character vector of layerNames to be compared (defaults to "Summer" and "Winter" for rast1 and rast2 respectively) |
myEllipses |
List output of 'makeDataEllipse' function. If not provided, calculations to fit dataEllipse will be rerun. Arguments for makeDataEllipse function should then be provided. |
species |
Character vector of species, name of subdirectory where results are (optionally) saved. |
summaryTable |
Optional table of values to include under the plot. See output of 'extractStatistics' |
pngSaveFileName |
Optional file name to save plot object to. |
... |
DataFrame column nams to populated "geom_tile(aes())", e.g., : x=x,y=y,fill=value |
A list containing species name, rastname, metrics of surface equivalency, ellipse areas, ratio of ellipse areas, percent of ellipse intersected, centroid latitude and longitude for each ellipse, and distance and bearing between each centroid.
makeDataEllipse
surfaceEquivalency
extractStatistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.