fm_crs_is_null | R Documentation |
Methods of checking whether various kinds of CRS objects are NULL
or NA
.
Logically equivalent to either is.na(fm_crs(x))
or
is.na(fm_crs(x, oblique = NA))
, but with a short-cut pre-check for is.null(x)
.
fm_crs_is_null(x, crsonly = FALSE)
## S3 method for class 'fm_crs'
is.na(x)
x |
An object supported by |
crsonly |
For crs objects with extended functionality, such as
|
logical
fm_crs_is_null()
: Check if an object is or has NULL
or NA
CRS information.
If not NULL
, is.na(fm_crs(x))
is returned. This allows the input to be e.g.
a proj4string or epsg number, since the default fm_crs()
method passes
its argument on to sf::st_crs()
.
is.na(fm_crs)
: Check if a fm_crs
has NA
crs information and NA
obliqueness
fm_crs()
, fm_CRS(), fm_crs_is_identical()
fm_crs_is_null(NULL)
fm_crs_is_null(27700)
fm_crs_is_null(fm_crs())
fm_crs_is_null(fm_crs(27700))
fm_crs_is_null(fm_crs(oblique = c(1, 2, 3, 4)))
fm_crs_is_null(fm_crs(oblique = c(1, 2, 3, 4)), crsonly = TRUE)
fm_crs_is_null(fm_crs(27700, oblique = c(1, 2, 3, 4)))
fm_crs_is_null(fm_crs(27700, oblique = c(1, 2, 3, 4)), crsonly = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.