csd_estimate {bamm} | R Documentation |
csd_plot gives an estimate of the number of geographic clusters given a set of dispersal hypothesis and a suitability raster
csd_estimate(model, dispersal_steps = c(2, 4, 8, 16, 32, 64))
model |
A raster model or a setA object representing the suitability model |
dispersal_steps |
A numeric vector with elements representing the dispersal hypothesis to test. |
For more information about the Connectivity-Suitability-Diagram
see bam_clusters
A list of length three. The first element contains the Connectivity- Suitability-Diagram information estimated for each element in the vector of dispersal_steps. The second is tbl_df object with a summary of the number of cluster of each dispersal step and the mean number of connected clusters. The last element is base plot showing the information cointained in the tbl_df object.
Luis Osorio-Olvera & Jorge SoberĂ³n
SoberĂ³n J, Osorio-Olvera L (2022). “A Dynamic Theory of the Area of Distribution.” doi:10.48550/ARXIV.2212.06308, https://arxiv.org/abs/2212.06308..
model_path <- system.file("extdata/Lepus_californicus_cont.tif",
package = "bamm")
model <- raster::raster(model_path)
model <- model > 0.7
csd_plot <- bamm::csd_estimate(model,
dispersal_steps=c(2,4,8))
csd_plot$plot