Learn R Programming

fmesher (version 0.7.0)

fmexample3d: Example 3D mesh data

Description

This is an example data set used for fmesher package examples.

Usage

fmexample3d

Arguments

Format

The data is a list containing these elements:

loc:

A matrix of points.

mesh:

An fm_mesh_3d() object.

See Also

fmexample, fm_as_mesh_2d()

Examples

Run this code
if (require(ggplot2, quietly = TRUE)) {
  ggplot() +
    geom_sf(data = fm_as_sfc(fm_as_mesh_2d(fmexample3d$mesh)))
}

Run the code above in your browser using DataLab