simplex | R Documentation |
simplex forecast
## S4 method for signature 'sf'
simplex(
data,
target,
lib = NULL,
pred = NULL,
E = 1:10,
tau = 1,
k = E + 2,
nb = NULL,
threads = detectThreads(),
trend.rm = TRUE
)
## S4 method for signature 'SpatRaster'
simplex(
data,
target,
lib = NULL,
pred = NULL,
E = 1:10,
tau = 1,
k = E + 2,
threads = detectThreads(),
trend.rm = TRUE
)
data |
The observation data. |
target |
Name of target variable. |
lib |
(optional) Libraries indices. |
pred |
(optional) Predictions indices. |
E |
(optional) Dimensions of the embedding. |
tau |
(optional) Step of spatial lags. |
k |
(optional) Number of nearest neighbors used for prediction. |
nb |
(optional) The neighbours list. |
threads |
(optional) Number of threads. |
trend.rm |
(optional) Whether to remove the linear trend. |
A list
xmap
self mapping prediction results
varname
name of target variable
columbus = sf::read_sf(system.file("shapes/columbus.gpkg", package="spData"))
simplex(columbus,target = "CRIME")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.