mat_mat2ind: Matrix to indexed data frame

View source: R/matrixOps.R

mat_mat2indR Documentation

Matrix to indexed data frame

Description

Mimics the default behaviour of reshape2::melt()

Usage

mat_mat2ind(mat)

Arguments

mat

A matrix

Value

A data.frame with two index columns named "Var1" and "Var2"

Examples

mat_mat2ind(as.matrix(1:100,ncol=10))


FredHasselman/casnet documentation built on April 20, 2024, 3:05 p.m.