R: Internal functions: A conditional drop

gsi.drop {compositions} | R Documentation

## Internal functions: A conditional drop

### Description

drop, if drop is needed.

### Usage

    gsi.drop(X,drop)

### Arguments

`X` | an array which dimensions should be dropped
`drop` | a logical whether to drop dimensions

### Value

`X` or `drop(X)`

### 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

`drop`, `gsi`

[Package compositions version 2.0-0 Index]