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

gsi.isSingleRowR Documentation

Internal function: Can something be considered as a single multivariate data item?

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

gsi.isSingleRow(X)

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

#gsi.isSingleRow(1:10)

compositions documentation built on June 22, 2024, 12:15 p.m.