Learn R Programming

narray (version 0.5.1)

collect: 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)

Value

A character vector or list thereof

Arguments

x

A logical matrix

along

Which axis to spread mask on