as.array.diffnet: Coerce a diffnet graph into an array
Description
Coerce a diffnet graph into an array
Usage
# S3 method for diffnet
as.array(x, ...)
Arguments
x
A diffnet object.
...
Ignored.
Value
A three-dimensional array of \(T\) matrices of size \(n\times n\).
Details
The function takes the list of sparse matrices stored in x and creates
an array with them. Attributes and other elements from the diffnet object are
dropped.
dimnames are obtained from the metadata of the diffnet object.