maxentTh {SDMtune} | R Documentation |
MaxEnt Thresholds
Description
Returns the value of the thresholds generated by the MaxEnt software.
Usage
maxentTh(model)
Arguments
model |
SDMmodel object trained using the "Maxent" method. |
Value
data.frame with the thresholds.
Author(s)
Sergio Vignali
See Also
Examples
# Acquire environmental variables
files <- list.files(path = file.path(system.file(package = "dismo"), "ex"),
pattern = "grd",
full.names = TRUE)
predictors <- terra::rast(files)
# Prepare presence and background locations
p_coords <- virtualSp$presence
bg_coords <- virtualSp$background
# Create SWD object
data <- prepareSWD(species = "Virtual species",
p = p_coords,
a = bg_coords,
env = predictors,
categorical = "biome")
# Train a Maxent model
model <- train(method = "Maxent",
data = data,
fc = "l")
maxentTh(model)
[Package SDMtune version 1.3.1 Index]