is_sf | R Documentation |
What is the class or spatial attributes of this feature?
is_sf(x, ext = FALSE, null.ok = FALSE) is_sfc(x, null.ok = FALSE) is_sfg(x, null.ok = FALSE) is_bbox(x, null.ok = FALSE) is_sf_list(x, named = FALSE, ext = FALSE, null.ok = FALSE) is_raster(x, null.ok = FALSE) is_sp(x, null.ok = FALSE) is_same_crs(x, y) is_sf_or_what(x = NULL, return = NULL, us = FALSE, null.ok = TRUE)
x |
An |
ext |
If |
null.ok |
If |
named |
If |
y |
An sf object or a character or numeric object supported by sf::st_crs that can be compared to x. (used by is_same_crs) |
return |
type of object to return; "list" or |
us |
If |
is_sf: is x a sf
class object?
is_sfc: is x is a sfc
class object?
is_bbox: is x is a bbox
class object?
is_sf_list: is x is a list of sf
class objects (with or without names)?
is_raster: is x a Raster
class object?
is_sp: is x a Spatial
class object of any type?
is_same_crs: do x and y have the same coordinate reference system?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.