get_active_elements: Extract active elements from matrix

View source: R/netfacs-helpers.R

get_active_elementsR Documentation

Extract active elements from matrix

Description

Extract active elements from matrix

Usage

get_active_elements(m)

Arguments

m

A binary matrix where 1 indicates an element was active. colnames(m) must contain the element names

Value

A list of vectors


NetFACS documentation built on Dec. 7, 2022, 1:12 a.m.