Description Usage Arguments Value Note Author(s)
accessory function to check if an object passed to the function
corresponds to a *Spatial
Object, a sf
object, a R raster
object, a
file corresponding to a vector, or a file corresponding to a raster.
NOTE: to check only for vector or raster types, the associated functions
get_vectype
and get_rastype
can be used, with the same syntax.
1 | get_spatype(in_object, abort = TRUE)
|
in_object |
either a |
abort |
|
character ("spobject" | "sfobject" | "rastobject | "
vectfile" | rastfile), or NA
if the input does not
belong to any spatial category and abort == FALSE
Functions get_spatype, get_rastype and get_vectype come from package sprawl.
Lorenzo Busetto, phD (2017) lbusett@gmail.com
Luigi Ranghetti, phD (2017) ranghetti.l@irea.cnr.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.