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

Description Usage Arguments Author(s)

View source: R/spde.common.R

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


inbo/INLA documentation built on Dec. 6, 2019, 9:51 a.m.