collect: Converts a logical matrix to a list of character vectors

View source: R/collect.r

collectR Documentation

Converts a logical matrix to a list of character vectors

Description

This currently only supports x with only one non-zero element

Usage

collect(x, along = 2)

Arguments

x

A logical matrix

along

Which axis to spread mask on

Value

A character vector or list thereof


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