#' Binarize a correlation matrix.
#'
#' Binarize a correlation matrix.
#' @param c The correlation matrix.
#' @return A binary adjacency matrix
#' @export
#' @author Brandon Vaughan
#' @examples
#' binarize(graph)
#'
binarize = function (c) {
abs(sign(c))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.