blockENM2fold | R Documentation |
Create Spatial blocks using ENMeval
blockENM2fold( method = "block", y, coords, presence.level = NULL, env = NULL, aggregation.factor = NULL )
method |
One of 'block', 'check1', 'check2'. Check ENMeval documentation |
y |
A response factor |
coords |
Two-column data.frame or matrix of longitude and latitude, same order as y |
presence.level |
character. Value in y which represents presence. By default, the first level of y is considered presence. |
env, aggregation.factor |
used only for methods 'check1' and 'check2' |
A vector with folds to be used in trainControlSDM
.
Other spatial:
blockCV2fold()
,
create.test.index.blockCV()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.