changeSparseFormat: Changing sparse format

Description Usage Arguments

Description

point2ind takes a vector of column pointers, as used in sparse matrices of class dgCMatrix, and returns a vector of column indices, as used in sparse matrices of class dgTMatrix. ind2point is the approximate inverse of point2ind. See sparseMatrix for more information about these conversions.

Usage

1
2
3
point2ind(point)

ind2point(ind, maxInd, fillNA = TRUE)

Arguments

point

vector of column pointers

ind

vector of column indices

maxInd

number of rows or columns (could be larger than max(ind))

fillNA

fill in NA's with repeated column numbers (as in Matrix package)?


stevencarlislewalker/lme4ord documentation built on May 30, 2019, 4:43 p.m.