gsi.isSingleRow | R Documentation |
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.
gsi.isSingleRow(X)
X |
the matrix or vector to be checked |
It is defined as
gsi.isSingleRow <- function(X) {
return( NROW(X) == 1 || NCOL(X) ==1 )
}
a logical value
Do not use gsi.* functions directly since they are internal functions of the package
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
gsi
#gsi.isSingleRow(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.