tripl_to_sparse: Simple triple matrix to sparse matrix

View source: R/tripl_to_sparse.R

tripl_to_sparseR Documentation

Simple triple matrix to sparse matrix

Description

Simple triple matrix to sparse matrix

Usage

tripl_to_sparse(simple_triplet_matrix, giveCsparse = TRUE)

Arguments

simple_triplet_matrix

A simple_triplet_matrix as used in package slam.

giveCsparse

By default TRUE. Set to FALSE if a dgTMatrix shall be returned instead of a dgCMatrix.

Value

sparseMatrix from package Matrix.


manuelbickel/textility documentation built on Nov. 25, 2022, 9:07 p.m.