Mask edges not-involving the scan's focal node (applies the focal list) Internal.

mask_non.focals(scan.list, focalList)

Arguments

scan.list

a scanList object

focalList

named integer vector, returned by draw_focalList representing the node's index (row/column) to be sampled for each scan. Names are obtain from the adjacency matrix Adj, the vector's length is equal to n.scans

Value

a 3D array where edges not-involving the scan's focal node are replaced byNAs