extract.groups {INLA} | R Documentation

## Extract tagged boundary/internal segments.

### Description

Extract boundary or internal segments tagged by group id:s.

### Usage

    extract.groups(...)

    ## S3 method for class 'inla.mesh.segment'
    extract.groups(
      segm, groups, groups.new = groups, ...)

### Arguments

`segm` | An `inla.mesh.segment` object.
`groups` | The segment groups id:s to extract.
`groups.new` | Optional vector of group id remapping; `groups[k]` in the input will be replaced by `groups.new[k]` in the output.
`...` | Additional arguments, passed on to other methods.

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

### See Also

`inla.mesh.segment`

[Package INLA version 18.07.12 Index]