Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as-matrix-cast-df-bu

as.matrix.cast\_df


Description

Convert cast data.frame into a matrix

Usage

## S3 method for class 'cast_df'
as.matrix(x, ...)

Arguments

x
...

Details

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

Author(s)

Hadley Wickham <h.wickham@gmail.com>


reshape

Flexibly Reshape Data

v0.8.8
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.