cell: Cell array

View source: R/cell.R

cellR Documentation

Cell array

Description

Creates an array of zeros

Usage

cell(n, sz = c(n, n), expandable = FALSE, ...)

Arguments

n

a the first dimension (or both, if sz is not passed)

sz

the second dimension (or 1st and 2nd, if not passed)

expandable

if TRUE, output is a list (so it can take different lengths)

...

Other dimensions

Value

An array of zeroes with the dimensions passed on call

Examples

cell(5)
cell(5, 2)

matlab2r documentation built on Feb. 16, 2023, 10:39 p.m.

Related to cell in matlab2r...