remove.ids | R Documentation |
The function optimally removes identifiers with NA in a list of adjacency matrices. Many combinations of rows and columns can be deleted removing many rows and column
remove.ids(network, ncores = 1L)
network |
is a list of adjacency matrices |
ncores |
is the number of cores to be used to run the program in parallel |
List of adjacency matrices without missing values and a list of vectors of retained indeces
A <- matrix(1:25, 5)
A[1, 1] <- NA
A[4, 2] <- NA
remove.ids(A)
B <- matrix(1:100, 10)
B[1, 1] <- NA
B[4, 2] <- NA
B[2, 4] <- NA
B[,8] <-NA
remove.ids(B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.