splitn: splitn

View source: R/matrices.r

splitnR Documentation

splitn

Description

Splits a given matrix into a list of matrices (byrow) into a list of submatrices

Usage

splitn(mat, r = 1, c = ncol(mat))

Arguments

mat

Matrix containing numeric values

r

Rows in each submatrix

c

Cols in each submatrix


lukehannan/lumisc documentation built on May 9, 2022, 12:59 p.m.