Description Usage Arguments Data type Version Date submitted Author(s) See Also
View source: R/LocalOccurrenceDataFrame.R
Occurrence module to format local occurrence data to be used with zoon. Must be a data.frame with three columns containing values for longitude, latitude and value. A column named CRS can be supplied if the coordinates are not lat/long. CRS should contain the proj4string for the coordinate system of the data (for example "+init=epsg:27700" for easting/northing data). If a CRS column is supplied longitude is taken to be the X coordinate and latitude the Y coordinate.
1 2 3 4 | LocalOccurrenceDataFrame(dataFrame = read.csv("myData.csv"),
occurrenceType = "presence", columns = c(long = "longitude", lat =
"latitude", value = "value"), subsetSpecies = NULL,
externalValidation = FALSE)
|
dataFrame |
A data.frame in your environment. Must have columns recording values for "longitude", "latitude", and "value". "value" is a numeric such as a proportion, count or presence/absence (1/0). |
occurrenceType |
What type data is it? One of "presence", "presence/absence", "abundance", "probability" |
columns |
Which columns in the data.frame relate to longitude, latitude and response value? Takes a named character vector e.g. c(long = "longitude", lat = "latitude" value = "responseVals"). If an unnamed character vector is given, the order is assumed to be long, lat, value. |
subsetSpecies |
Do you need to subset your spreadsheet by species? Supply a character vector of species name and the column name it is specified in (in that order) |
externalValidation |
Logical indicating whether this data is external validation data. Cross validation is handled elsewhere and this argument should be left as FALSE for data that will be used in cross validation. This is ignored if the user supplies a "fold" column. |
presence-only, presence/absence, abundance, proportion
1.1
2017-12-17
David Wilkinson, ZOON Developers, davidpw@student.unimelb.edu.au
Other occurrence: AnophelesPlumbeus
,
CWBZimbabwe
, CarolinaWrenPA
,
CarolinaWrenPO
,
LocalOccurrenceData
,
Lorem_ipsum_UK
, NATrees
,
NaiveRandomPresenceAbsence
,
NaiveRandomPresence
, SpOcc
,
SugarMaple
,
UKAnophelesPlumbeus
,
malariaAtlas_PR
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.