Learn R Programming

slgf (version 2.0.0)

maketall: Converts a two-way layout into tall format with row and column index labels.

Description

maketall Converts a two-way layout into tall format with row and column index labels.

Usage

maketall(data_matrix)

Value

maketall returns a data frame containing the original observations, row labels, and column labels.

Arguments

data_matrix

an r by c data matrix.

Examples

Run this code
library(slgf)
data(lymphoma)
maketall(lymphoma)

Run the code above in your browser using DataLab