These methods allow standard subsetting (`[`) and assignment (`[<-`) for `DirectedNet` and `UndirectedNet` objects.
# S4 method for DirectedNet,ANY,ANY,ANY
[(x, i, j, ..., maskMissing = TRUE, drop = TRUE)# S4 method for UndirectedNet,ANY,ANY,ANY
[(x, i, j, ..., maskMissing = TRUE, drop = TRUE)
# S4 method for DirectedNet
[(x, i, j, ...) <- value
# S4 method for UndirectedNet
[(x, i, j, ...) <- value
A modified object or extracted submatrix depending on the method.
A `DirectedNet` or `UndirectedNet` object.
Index vectors.
Currently unused.
Logical. Should missing values be masked by NA?
Ignored (present for compatibility).
Values to assign (for `[<-` only).