ind2sub: Linear index to subscript

Description Usage Arguments Value

View source: R/utilities.R

Description

Linear index to subscript

Usage

1
ind2sub(ind, nrows)

Arguments

ind

Linear index

nrows

The number of rows in the data matrix

Value

The subscript index (row, col) corresponding to the linear index ind


aheneliu/tiler documentation built on May 21, 2019, 12:03 p.m.