customSize: Custom Size Function.

View source: R/sfaHelperFunctions.R

customSizeR Documentation

Custom Size Function.

Description

custom R version of matlabs size function. Calls length for vectors, or else calls dim.

Usage

customSize(x, i = NULL)

Arguments

x

object to be checked for size

i

1, 2 or NULL. Defines if both or which size information should be returned.

Value

a vector if i is null, an integer if i is 1 or 2.


rSFA documentation built on March 29, 2022, 5:05 p.m.