Calculate statistics for a spatial dataset.
spatial_data_statistics(x, type, index = 1)
# S3 method for sf
spatial_data_statistics(x, type, index = 1)
# S3 method for Raster
spatial_data_statistics(x, type, index = 1)
# S3 method for data.frame
spatial_data_statistics(x, type, index = 1)
x |
|
---|---|
type |
|
index |
|
A list
containing statistics for the data.