drop_if: Drop unused dims if flag is TRUE

View source: R/util.r

drop_ifR Documentation

Drop unused dims if flag is TRUE

Description

Drop unused dims if flag is TRUE

Usage

drop_if(x, flag)

Arguments

x

An array object

flag

Whether to drop unused dimensions

Value

The object in full or with dropped dimensions


narray documentation built on Oct. 2, 2022, 5:08 p.m.