Learn R Programming

hpoPlot (version 2.4)

setDimNames: setNames for arrays...

Description

setNames for arrays...

Usage

setDimNames(array.object, list.of.dimension.names)

Arguments

array.object
Array
list.of.dimension.names
List of character vectors with which to name each dimension of the array

Value

Named array

Examples

Run this code
setDimNames(matrix(1:4,2,2), list(c("Cat", "Dog"), c("Name", "Weight")))

Run the code above in your browser using DataLab