Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gsiisSingleRow

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

Examples

#gsi.isSingleRow(1:10)

compositions

Compositional Data Analysis

v2.0-1
GPL (>= 2)
Authors
K. Gerald van den Boogaart <boogaart@hzdr.de>, Raimon Tolosana-Delgado, Matevz Bren
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.