View source: R/utils_spatial_data_type.R
spatial_data_type | R Documentation |
Identify if a spatial dataset has continuous or categorical data.
spatial_data_type(x, index = 1, ...)
## S3 method for class 'sf'
spatial_data_type(x, index = 1, ...)
## S3 method for class 'SpatRaster'
spatial_data_type(x, index = 1, max_sample = 10000, ...)
## S3 method for class 'data.frame'
spatial_data_type(x, index = 1, ...)
x |
|
index |
|
... |
not used. |
max_sample |
|
A character
indicating if the data are "continuous"
or
"categorical"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.