sort.strucMatrix: Sort the indices of a structured sparse matrix

Description Usage Arguments

Description

The ordering of the indices is arbitrary, but some orders are more computationally efficient than others in certain circumstances. standardSort is defined as sort(sort(., type = "row"), type = "col"), which is often the 'best' order. It is used throughout, and in particular is required for using the kr function.

Usage

1
2
3
4
5
## S3 method for class 'strucMatrix'
sort(x, decreasing = FALSE, type = c("col", "row",
  "val"), ...)

standardSort(x)

Arguments

x

strucMatrix object

decreasing

see sort

type

sort by column, row, or value indices?

...

for consistency with generic


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