getAttr: Retrieve an attribute or a default if not present.

Description Usage Arguments

View source: R/attributes.R

Description

Behaves similar to getOption, but is a simple wrapper for attr.

Usage

1
getAttr(object, name, default = NULL)

Arguments

object

An R Object.

name

Name of the Attribute

default

The value if the attribute is not set or NULL


harvestr documentation built on May 30, 2017, 2:39 a.m.