get_attr: Retrieve Attributes from an R Object

View source: R/misc.R

get_attrR Documentation

Retrieve Attributes from an R Object

Description

This function extracts a specified attribute from an R object.

Usage

get_attr(x, attr_name)

Arguments

x

An R object that has attributes.

attr_name

The name of the attribute to retrieve.

Value

The value of the attribute with the given name.


easybio documentation built on Sept. 17, 2024, 1:08 a.m.