Learn R Programming

Corbi (version 0.6-0)

column: Extract a column from a matrix

Description

Extract a specified column from a sparse matrix rapidly

Usage

column(m, i)

Arguments

m

The matrix

i

The column index

Value

This function will return the specified column as a vector of corresponding type.

Details

This function implements faster column extraction algorithm for the CsparseMatrix class in the package Matrix.