dim_all: Returns the dimension of the object 'x'. If 'x' is a list, a...

View source: R/dim_all.R

dim_allR Documentation

Returns the dimension of the object 'x'. If 'x' is a list, a list of dimensions is returned. If 'x' is a vector length(x) is returned. If 'x' is NULL, 'null.out' is returned.

Description

Returns the dimension of the object 'x'. If 'x' is a list, a list of dimensions is returned. If 'x' is a vector length(x) is returned. If 'x' is NULL, 'null.out' is returned.

Usage

dim_all(x, null.out = NULL, old = TRUE)

Arguments

x

The input object.

null.out

The value to return from NULL.

old

Deprecated. Logical: If TRUE use the old function.


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.