RecursiveRbind: Recursively call rBind from the Matrix package.

Description Usage Arguments Value Examples

Description

This is used for combining a list of sparce matrices into a large Matrix. This is a worker function for textmineR and generally not made to be used by users. However, the function is provided for custom functions.

Usage

1
RecursiveRbind(matrix_list)

Arguments

matrix_list

A list, each element containing a matrix of class dgCMatrix

Value

Returns a matrix of class dgCMatrix.

Examples

1
2
3
4
5
a_matrix <- Matrix::Matrix(0, nrow=10, ncol=10)

a_list <- list(a_matrix, a_matrix, a_matrix, a_matrix, a_matrix)

result <- RecursiveRbind(a_list)

ChengMengli/topic documentation built on May 31, 2019, 8:44 p.m.