Learn R Programming

sdm (version 1.2-32)

density: density

Description

Create a density plots of presence and absence data

Arguments

Value

A density plot. Presence data are in darkblue, and absence data are in red.

Methods

density(x, ...) rll x Object of class 'sdmEvaluate' (or a numeric vector of observed presence/absence)

References

Naimi, B., Araujo, M.B. (2016) sdm: a reproducible and extensible R platform for species distribution modelling, Ecography, DOI: 10.1111/ecog.01881

Examples

Run this code



e <- evaluates(x=c(1,1,0,1,0,0,0,1,1,1,0),
          p=c(0.69,0.04,0.05,0.95,0.04,0.65,0.09,0.61,0.75,0.84,0.15))


density(e)


Run the code above in your browser using DataLab