inla.extract.el {INLA} | R Documentation

## Extract elements by matching name from container objects.

### Description

Extract elements by wildcard name matching from a `data.frame`, `list`, or `matrix`.

### Usage

    inla.extract.el(M, ...)

    ## S3 method for class 'matrix'
    inla.extract.el(M, match, by.row = TRUE, ...)

    ## S3 method for class 'data.frame'
    inla.extract.el(M, match, by.row = TRUE, ...)

    ## S3 method for class 'list'
    inla.extract.el(M, match, ...)

### Arguments

`M` | A container object.
`...` | Additional arguments, not used.
`match` | A regex defining the matching criterion.
`by.row` | If `TRUE`, extract data by row, otherwise by column.

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

[Package INLA version 26.08.22 Index]