Learn R Programming

rSFA (version 1.5)

customSize: 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.