Learn R Programming

easybio (version 1.1.1)

get_attr: Retrieve Attributes from an R Object

Description

This function extracts a specified attribute from an R object.

Usage

get_attr(x, attr_name)

Value

The value of the attribute with the given name.

Arguments

x

An R object that has attributes.

attr_name

The name of the attribute to retrieve.