accessField: Access the field in a list

accessFieldR Documentation

Access the field in a list

Description

This function accesses named field within the elements of a list. If an element lacks the field, it's filled in by natype.

Usage

accessField(d, field, natype = NA)

Arguments

d

Input data list

field

Field name to access in each element

natype

What to fill in when field is unavailable

Value

A vector of elements


jsicherman/GemmAPI documentation built on Dec. 15, 2024, 8:59 a.m.