library(raster)cell.area.size <- 4 #km^2r <- raster(nrows = 10, ncols = 10)r[] <- rnorm(10*10, mean = 0)length(r[r > 0]) * cell.area
Carolyn
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.
Now, about getting a binary range map from a continuous Maxent output, using the Natural Breaks classifications to do this is not conventional, but not any more subjective than other methods. How do you know which break to use? Make sure the break you use matches with your expectations for what the range should look like: you're the expert here. The most conventional way, when you need to convert to binary for areal estimates, is to use one of the thresholds suggested in the Maxent output HTML. For a wide-ranging habitat generalist like leopards, the minimum training presence will likely be very small and will result in an over-prediction, but experiment with the different ones you see there if the Jenks one don't look right to you. There are also suggestions in the literature concerning thresholds: look up "maxent binary thresholds" or something like that.
Jamie Kass
PhD Student
City College, NYC
1. Reclassify the Ecological niche model (ENM) using the “Reclassify” function” under “Spatial Analyst” -> “Reclass” so that logistic probability below 0.05 is recorded as “NoData” and logistic probability above 0.05 as 1. “NoData” stay as “NoData”.
2. Convert the reclassified raster to a shapefile using the “Raster To Polygon” function in “Conversion Tools” -> “From Raster”
3. Select the polygons within the dispersal abilities of your organism, i.e., this will remove areas far away from the species range that are suitable but likely unoccupied due to historical factors. Copy the selected polygon(s) to a new layer
4. Open the Atribute Table and record the Shape_Area of the ENM
5. Create a Minimum Binding Geometry (MBG) under “Data Management Tools” -> “Features”. Use Convex_hull as Geometry type. You can do all your taxa at once if you have them in a single shapefile using the “Group Option” function. Then select polygons for individual taxa and copy to a new file.
6. If the MBG extends over water, those areas that represent water need to be removed. The easiest way is to use the “Intersect” feature under “Analysis Tools” -> “Overlay”.
7. Open the Atribute Table and record the Shape_Area of the MBG