Description Usage Arguments Value See Also Examples
A simple helper function to convert a datframe containing occurrence data into a SpatialPointsDataFrame
for use with other seegSDM
functions.
1 | occurrence2SPDF(occurrence, crs=wgs84(TRUE))
|
occurrence |
A dataframe containing at least the columns |
crs |
The CRS for the occurrence data (default: projected WGS84). |
A SpatialPointsDataFrame
containing the dataframe occurrence
.
SpatialPointsDataFrame
, checkOccurrence
1 2 3 4 5 6 7 8 9 10 11 | # load the occurrence dataframe
data(occurrence)
class(occurrence)
head(occurrence)
#convert to an SPDF
occ <- occurrence2SPDF(occurrence)
class(occ)
head(occ)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.