Converts in-memory matrix, Matrix::dgeMatrix, or
Matrix::dgCMatrix into a dbMatrix object.
Generic function to convert in-memory objects to dbMatrix objects.
Usage
as.dbMatrix(x, con = NULL, name = "dbMatrix", overwrite = FALSE, ...)
as.dbMatrix(x, con = NULL, name = "dbMatrix", overwrite = FALSE, ...)Value
A dbDenseMatrix for dense matrix inputs or a dbSparseMatrix
for sparse matrix inputs. The returned object keeps the input dimensions
and dimnames while storing matrix values in DuckDB.