smart_names {smarter}R Documentation

smart_names

Description

Sets row/column names to matrix or data.frame

Usage

smart_names(MAT, ROW = NULL, COL = NULL)

Arguments

MAT

A matrix

ROW

A vector of length equal to nrow(MAT)

COL

A vector of length equal to ncol(MAT)

Value

Outputs a matrix or data.frame depending on input object class


[Package smarter version 1.0.1 Index]