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 July 5, 2025, 5:30 a.m.