input_sdm | R Documentation |
input_sdm
This function creates a new input_sdm
object.
input_sdm(...)
add_input_sdm(i1, i2)
... |
Data to be used in SDMs. Can be a |
i1 |
A |
i2 |
A |
If sdm_area
is used, it can include predictors and scenarios. In this case,
input_sdm
will detect and include as scenarios
and predictors
in the
input_sdm
output. Objects can be included in any order, since the function will work by
detecting their classes.
The returned object is used throughout the whole workflow to apply functions.
A input_sdm
object containing:
grid |
|
bbox |
Four corners for the bounding box (class |
cell_size |
|
epsg |
|
predictors |
|
Luiz Fernando Esser (luizesser@gmail.com) https://luizfesser.wordpress.com
occurrences_sdm sdm_area
# Create sdm_area object:
sa <- sdm_area(parana, cell_size = 50000, crs = 6933)
# Include predictors:
sa <- add_predictors(sa, bioc) |> select_predictors(c("bio1", "bio4", "bio12"))
# Include scenarios:
sa <- add_scenarios(sa, scen)
# Create occurrences:
oc <- occurrences_sdm(occ, crs = 6933) |> join_area(sa)
# Create input_sdm:
i <- input_sdm(oc, sa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.