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 'data.frame'
    inla.extract.el(M, match, by.row = TRUE, ...)
    ## S3 method for class 'list'
    inla.extract.el(M, match, ...)
    ## S3 method for class 'matrix'
    inla.extract.el(M, match, by.row = TRUE, ...)

### Arguments

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

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

[Package INLA version 18.07.12 Index]