subset.InfinitySparseMatrix: Subsetting for InfinitySparseMatrices

Description Usage Arguments Value Author(s)

View source: R/InfinitySparseMatrix.R

Description

This matches the syntax and semantics of subset for matrices.

Usage

1
2
## S3 method for class '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.

Author(s)

Mark Fredrickson


markmfredrickson/optmatch documentation built on Nov. 9, 2018, 12:57 a.m.