Assigns new crs information.
fm_crs(x) <- valuefm_crs_oblique(x) <- value
## S3 replacement method for class 'NULL'
fm_crs(x) <- value
## S3 replacement method for class 'NULL'
fm_crs_oblique(x) <- value
# S3 method for fm_segm
fm_crs(x) <- value
# S3 method for fm_list
fm_crs(x) <- value
# S3 method for fm_mesh_2d
fm_crs(x) <- value
# S3 method for fm_lattice_2d
fm_crs(x) <- value
# S3 method for sf
fm_crs(x) <- value
# S3 method for sfg
fm_crs(x) <- value
# S3 method for sfc
fm_crs(x) <- value
# S3 method for Spatial
fm_crs(x) <- value
# S3 method for crs
fm_crs_oblique(x) <- value
# S3 method for CRS
fm_crs_oblique(x) <- value
# S3 method for fm_CRS
fm_crs_oblique(x) <- value
# S3 method for fm_crs
fm_crs_oblique(x) <- value
# S3 method for fm_segm
fm_crs_oblique(x) <- value
# S3 method for fm_mesh_2d
fm_crs_oblique(x) <- value
# S3 method for fm_lattice_2d
fm_crs_oblique(x) <- value
# S3 method for inla.CRS
fm_crs_oblique(x) <- value
The modified object
Object to assign crs information to
For fm_crs<-()
, object supported by fm_crs(value)
.
For fm_crs_oblique<-()
, NA
or a numeric vector, see the oblique
argument for fm_crs()
. For assignment, NULL
is treated as NA
.
fm_crs(x) <- value
: Automatically converts the input value with
fm_crs(value)
, fm_crs(value, oblique = NA)
,
fm_CRS(value)
, or fm_CRS(value, oblique = NA)
,
depending on the type of x
.
fm_crs_oblique(x) <- value
: Assigns new oblique
information.
fm_crs()
x <- fm_segm()
fm_crs(x) <- fm_crs("+proj=longlat")
fm_crs(x)$proj4string
Run the code above in your browser using DataLab