A spatial example task is available via
tsk("ecuador"), a spatiotemporal
The coordinate reference system passed during initialization must match the
one which was used during data creation, otherwise offsets of multiple meters
may occur. By default, coordinates are not used as features. This can be
changed by setting
extra_args$coords_as_features = TRUE.
Additional task arguments set during construction.
Create a new spatiotemporal resampling Task
TaskRegrST$new( id, backend, target, extra_args = list(coords_as_features = FALSE, crs = NA, coordinate_names = NA) )
Identifier for the task.
Name of the target column.
Additional task arguments set during construction. Required for
Coordinate reference system. Either a PROJ string or an
Whether the coordinates should also be used as features.
The variables names of the coordinates in the data.
Return the coordinates of the task
TaskRegrST$coordinates(rows = NULL)
Row IDs. Can be used to subset the returned coordinates.
Print the task.
Arguments passed to the
$print() method of the superclass.
The objects of this class are cloneable with this method.
TaskRegrST$clone(deep = FALSE)
Whether to make a deep clone.