getByName {campsismod}R 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


[Package campsismod version 1.1.1 Index]