mask_non.focals: Mask edges not-involving the scan's focal node (applies the...

Description Usage Arguments Value

View source: R/expDesign_sampling.R

Description

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

Usage

1
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


R-KenK/SimuNet documentation built on Oct. 22, 2021, 1:27 a.m.