extract_component | R Documentation |
This function extract the matrix of different components
extract_component(A, maximum = TRUE, position = NULL)
A |
A matrix |
maximum |
Whether to extract the maximum component |
position |
Whether to extract the component in the ith size position |
A matrix or a list of matrices with the required components
Alejandro Espinosa-Rada
Wasserman, S. and Faust, K. (1994). Social network analysis: Methods and applications. Cambridge University Press.
A <- FIFAex$Matrix
rownames(A) <- FIFAex$label
colnames(A) <- rownames(A)
extract_component(A, maximum = TRUE)
extract_component(A, maximum = FALSE, position = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.