Skip to contents

By default, it calls as.matrix() to build a matrix.

Usage

# Default S3 method
fortify_matrix(data, ..., data_arg = caller_arg(data), call = NULL)

Arguments

data

An object to be converted into a matrix.

...

These dots are for future extensions and must be empty.

data_arg

The argument name for data. Developers can use it to improve messages. Not used by the user.

call

The execution environment where data and other arguments for the method are collected, e.g., caller_env(). Developers can use it to improve messages. Not used by the user.

Value

A matrix.