- x
A SpatRaster object. If rand_both = FALSE, only this raster will be modeled.
- y
A SpatRaster object. If rand_both = FALSE, this raster does not change.
- rand_both
TRUE if distribution of traits in x and y should be modeled.
- x_calculate_intensity
TRUE if x contains numeric trait data from which boundary intensities should be calculated. default = FALSE.
- y_calculate_intensity
TRUE if y contains numeric trait data from which boundary intensities should be calculated. default = FALSE.
- x_cat
TRUE if x contains a categorical variable. default = FALSE.
- y_cat
TRUE if y contains a categorical variable. default = FALSE.
- threshold
A value between 0 and 1. The proportion of cells to keep as
boundary elements. Default = 0.2.
- n_iterations
An integer indicating the number of iterations for the function. A value of 100 or 1000
is recommended to produce sufficient resolution for downstream statistical tests. default = 10.
- x_model
Neutral model to use. Options: 'random' (stochastic), 'gaussian' (Gaussian random field),
and 'random_cluster' (modified random clusters method)
- y_model
Neutral model to use for y.
- px
If using modified random clusters for x, proportion of cells to be marked in percolated raster. Higher values of
p produce larger clusters. Default = 0.5
- py
If using modified random clusters for y, proportion of cells to be marked in percolated raster. Higher values of
p produce larger clusters. Default = 0.5
- progress
If progress = TRUE (default) a progress bar will be displayed.