Learn R Programming

optmatch (version 0.9-10)

subset.InfinitySparseMatrix: Subsetting for InfinitySparseMatrices

Description

This matches the syntax and semantics of subset for matrices.

Usage

# S3 method for InfinitySparseMatrix
subset(x, subset, select, ...)

Arguments

x

InfinitySparseMatrix to be subset or bound.

subset

Logical expression indicating rows to keep.

select

Logical expression indicating columns to keep.

...

Other arguments are ignored.

Value

An InfinitySparseMatrix with only the selected elements.