customSize {rSFA} | R Documentation |
custom R version of matlabs size function. Calls length for vectors, or else calls dim.
customSize(x, i = NULL)
x |
object to be checked for size |
i |
1, 2 or NULL. Defines if both or which size information should be returned. |
a vector if i is null, an integer if i is 1 or 2.