Helper from legacy INLA::inla.contour.segment()
Arguments
- x, y, z
The
x
andy
coordinates of the grid, and thez
values- nlevels
Number of contour levels
- levels
The contour levels. If
NULL
,pretty(range(z, na.rm = TRUE), nlevels)
is used.- groups
The group values for each contour level. If
NULL
,seq_len(length(levels))
is used.- positive
Logical; if
TRUE
, the contour lines are made to be CCW around positive excursions- eps, eps_rel
Polygonal curve simplification tolerances
- crs
A coordinate reference system
See also
Other nonconvex inla legacy support:
fm_nonconvex_hull_inla()
,
fm_simplify_helper()
Examples
fm_segm_contour_helper(z = matrix(1:16, 4, 4))
#> fm_segm object:
#> 8 interior edges (8 groups: 2 3 4 5 6 7 8 9)
#> Bounding box = (0,1) x (0,1) x (0,0)