Description Usage Arguments Details Value Author(s) See Also Examples
A simply constructor function for class "Occurrences"
.
1 2 3 4 5 6 7 8 9 10 |
x |
A data.frame or Spatial* object. |
schema |
Character. Columns to be searched for. Column |
object |
An object of class |
background |
An object of class |
type |
Either |
file, width, height, dingbats |
Arguments for pdf. See |
... |
Not used. |
Use the pdf
function to plot occurrence points to top of map background saved mit pdf method for that class.
An object of class Occurrences
.
Roland Kaiser
1 2 3 4 5 6 7 8 9 10 | e <- extent(13,14,46,47)
g <- floragrid(e)
x1 <- data.frame(taxon = "Genus species", gridcell = sample(g$GRIDCELL, 10))
x2 <- data.frame(taxon = "Genus species spp. subspecies", gridcell = sample(g$GRIDCELL, 10))
x <- rbind(x1, x2)
coordinates(x) <- gridcell2lnglat(x$gridcell)
o <- occurrences(x)
plot(o[o$taxon == "Genus species", ])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.