Learn R Programming

fmesher (version 0.3.0)

fm_as_fm: Convert objects to fmesher objects

Description

Used for conversion from general objects (usually inla.mesh and other legacy INLA specific classes) to fmesher classes.

Usage

fm_as_fm(x, ...)

## S3 method for class 'NULL' fm_as_fm(x, ...)

# S3 method for fm_mesh_1d fm_as_fm(x, ...)

# S3 method for fm_mesh_2d fm_as_fm(x, ...)

# S3 method for fm_mesh_3d fm_as_fm(x, ...)

# S3 method for fm_tensor fm_as_fm(x, ...)

# S3 method for fm_segm fm_as_fm(x, ...)

# S3 method for fm_lattice_Nd fm_as_fm(x, ...)

# S3 method for fm_lattice_2d fm_as_fm(x, ...)

# S3 method for fm_bbox fm_as_fm(x, ...)

# S3 method for crs fm_as_fm(x, ...)

# S3 method for CRS fm_as_fm(x, ...)

# S3 method for fm_crs fm_as_fm(x, ...)

# S3 method for inla.CRS fm_as_fm(x, ...)

# S3 method for inla.mesh.1d fm_as_fm(x, ...)

# S3 method for inla.mesh fm_as_fm(x, ...)

# S3 method for inla.mesh.segment fm_as_fm(x, ...)

# S3 method for inla.mesh.lattice fm_as_fm(x, ...)

Value

An object of some fm_* class

Arguments

x

Object to be converted

...

Arguments forwarded to submethods

See Also

Other object creation and conversion: fm_as_lattice_2d(), fm_as_lattice_Nd(), fm_as_mesh_1d(), fm_as_mesh_2d(), fm_as_mesh_3d(), fm_as_segm(), fm_as_sfc(), fm_as_tensor(), fm_lattice_2d(), fm_lattice_Nd(), fm_mesh_1d(), fm_mesh_2d(), fm_segm(), fm_simplify(), fm_tensor()

Examples

Run this code
fm_as_fm(NULL)

Run the code above in your browser using DataLab