View source: R/indivsInfo_AddPointGeometries.R
indivsInfo_AddPointGeometries | R Documentation |
Function to add point geometries to a list dataframes from DisMELS output
indivsInfo_AddPointGeometries( dfrs, xCol = "horizPos1", yCol = "horizPos2", crs = wtsGIS::get_crs(4326), wrapDateline = TRUE )
dfrs |
- list of dataframes, by typeName, or a single dataframe, with DisMELS IBM results |
xCol |
- name of column with x-axis location |
yCol |
- name of column with y-axis location |
crs |
- coordinate reference system (object that can be converted to an |
wrapDateline |
- flag (T/F) to use 0 to 360 rather than -180 to 180 range for longitudes |
Uses package wtsGIS
. For each sf dataset, the point geometries
are in column "geom". Other columns are copied from the associated input dataframes.
a list of sf (dataset) objects, by typeName, each with a column ("geom") of class sfc_POINT, or a single sf dataset with a column ("geom") of class sfc_POINT.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.