getByName: Get an element from a list by name. Never return more than 1...

View source: R/generic_list.R

getByNameR Documentation

Get an element from a list by name. Never return more than 1 element.

Description

Get an element from a list by name. Never return more than 1 element.

Usage

getByName(object, name)

## S4 method for signature 'pmx_list,character'
getByName(object, name)

Arguments

object

list object

name

element name to search for

Value

the element that was found or NULL if no element was found with the same name


campsismod documentation built on Oct. 12, 2023, 5:13 p.m.