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


mschubert/arraytools documentation built on Jan. 12, 2023, 8:21 a.m.