Learn R Programming

rFTRLProximal (version 1.0.0)

slice: Subsetting dgCMatrix

Description

Returns subsets of a dgCMatrix.

Usage

slice(x, i)

Arguments

x
a transposed dgCMatrix.
i
logical expression indicating elements or rows to keep.

Value

A transposed dgCMatrix containing the subset of rows that are selected.