attrs: Select attributes.

Description Usage Arguments Value Author(s)

View source: R/toolsWolfgang.R

Description

Select or discard attributes from an object.

Usage

1
attrs(x, atr = NULL, keep = TRUE)

Arguments

x

The object to work on

atr

An optional list of attributes which are either kept or removed. This parameter defaults to dim, dimnames, names, col.names, and row.names.

keep

For keep = TRUE, atr is a positive list on attributes which are kept, for keep = FALSE, atr are removed.

Value

x with selected attributes.

Author(s)

Wolfgang Mader, Wolfgang.Mader@fdm.uni-freiburg.de

Mirjam Fehling-Kaschek, mirjam.fehling@physik.uni-freiburg.de


dMod documentation built on May 30, 2017, 6:46 a.m.

Search within the dMod package
Search all R packages, documentation and source code