Description Usage Arguments Value Author(s) See Also Examples
Plot maps presenting gridded and transformed charcoal values obtained from
the pfGridding
function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
x |
An object returned by |
continuous |
Logical, plot continuous (TRUE) or discrete (FALSE) colors on the map. |
col_class |
Numeric, if continuous is false define here color classes (single values: col_class=5, or sequences col_class=seq(-15,15,5) are accepted.) |
col_lim |
Numeric, limits for plotting grid cells values, grid cells with values beyond col_lim are not plotted. |
xlim |
Numeric, map limits. |
ylim |
Numeric, map limits. |
empty_space |
Percentage, define empty space around the map. |
cpal |
String, color palette to use see
|
anomalies |
Logical, adapt output for plotting anomalies or not (color classes, etc..) |
file |
Path/Filename.tiff, the function can output a GeoTiff file if desired. |
points |
Logical, plot charcoal sites on the map? |
add |
An object of the class "SpatialPolygonsDataFrame" (sp) to be ploted on the map. |
add_color |
Color of the added SpatialPolygonsDataFrame. |
plot_countries |
Logical, default FALSE (if TRUE plot countries borderlines and coastlines) |
... |
... |
A ggplot2 "gg" object that could be further manipulated.
O. Blarquez
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
ID=pfSiteSel(continent="North America", l12==1, long>-85)
TR=pfTransform(ID,method=c("MinMax","Box-Cox","Z-Score"),BasePeriod=c(200,4000))
p=pfGridding(TR,age=1000)
plot(p,empty_space=100)
# require(ggplot2)
# pp=plot(p,empty_space=100)
# pp+ggtitle("my title..")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.