Learn R Programming

reshape (version 0.8.10)

as.data.frame.cast_matrix: as.data.frame.cast_matrix

Description

Convert cast matrix into a data frame

Usage

# S3 method for cast_matrix
as.data.frame(x, row.names, optional, ...)

Author

Hadley Wickham <h.wickham@gmail.com>

Arguments

x

row.names

optional

...

Details

Converts a matrix produced by cast into a data frame with appropriate id columns.