View source: R/get_graph_info.R
get_graph_info | R Documentation |
get_graph_info
fetches the overview tables about a specified graph/matrix from the SuiteSparse Matrix Collection.
get_graph_info(matrixname, groupname)
matrixname |
Name of the matrix/graph for which to fetch information. |
groupname |
Name of the group that provides the matrix/graph. |
The tables contain detailed information and properties about the graph/matrix, such as its size, number of non-zero elements, etc. Visit https://sparse.tamu.edu/ of see SuiteSparseData
to explore groups and matrix names.
A list of tables with detailed information about the specified matrix/graph:
"Matrix Information"
"Matrix Properties"
"SVD Statistics" (if available)
The rvest
package is used for parsing HTML, if it is not installed, the function will prompt for installation.
Davis, T. A., & Hu, Y. (2011). The University of Florida sparse matrix collection. ACM Transactions on Mathematical Software (TOMS), 38(1), 1-25.
Kolodziej, S. P., Aznaveh, M., Bullock, M., David, J., Davis, T. A., Henderson, M., Hu, Y., & Sandstrom, R. (2019). The suitesparse matrix collection website interface. Journal of Open Source Software, 4(35), 1244.
## Not run:
matrixname <- "grid1"
groupname <- "AG-Monien"
info_tables <- get_graph_info(matrixname,groupname)
# Matrix Information
info_tables[[1]]
# Matrix Properties
info_tables[[2]]
# SVD Statistics
info_tables[[3]]
## End(Not run)
#' @seealso \code{\link{download_graph}}, \code{\link{SuiteSparseData}}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.