inla.extract.el: Extract elements by matching name from container objects.

Description Usage Arguments Author(s)

Description

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

Usage

1
2
3
4
5
6
7
8
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


andrewzm/INLA documentation built on May 10, 2019, 11:12 a.m.