Skip to content

Convert to a matrix

Description

Equivalent to as.data.frame(x, …) |> as.matrix().

Usage

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

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

Arguments

x An object to convert to a matrix.
Additional arguments passed to methods.