Learn R Programming

simsem (version 0.2-8)

tagHeaders: Tag names to each element

Description

This element of a vector will be tagged by the names of the vector with the position of the element. This element of a matrix will be tagged by the names of the matrix with the row and column positions of the matrix.

Usage

tagHeaders(object, ...)

Arguments

object
The object to be tagged
...
The additional arguments

Value

  • The object with the row, column, or element names.

Examples

Run this code
# No example

Run the code above in your browser using DataLab