gsiisSingleRow: Internal function: Can something be considered as a single...

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Checks wether something can be regarded as a single multivariate item, being a matrix or a vector, which is only a row or a column.

Usage

1

Arguments

X

the matrix or vector to be checked

Details

It is defined as gsi.isSingleRow <- function(X) { return( NROW(X) == 1 || NCOL(X) ==1 ) }

Value

a logical value

Note

Do not use gsi.* functions directly since they are internal functions of the package

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

gsi

Examples

1
#gsi.isSingleRow(1:10)

compositions documentation built on Jan. 5, 2022, 5:09 p.m.