Skip to contents

When data is a matrix, it will automatically be transformed into a long-form data frame, where each row represents a unique combination of matrix indices and their corresponding values.

Usage

# S3 method for class 'matrix'
fortify_data_frame(data, ...)

Arguments

data

An object to be converted to a data frame.

...

Arguments passed to methods.

Value

A data frame.