Learn R Programming

fmesher (version 0.3.0)

fm_crs<-: Assignment operators for crs information objects

Description

Assigns new crs information.

Usage

fm_crs(x) <- value

fm_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

Value

The modified object

Arguments

x

Object to assign crs information to

value

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.

Functions

  • 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.

See Also

fm_crs()

Examples

Run this code
x <- fm_segm()
fm_crs(x) <- fm_crs("+proj=longlat")
fm_crs(x)$proj4string

Run the code above in your browser using DataLab