#' Similaryty to adjacency
#'
#' @param data similarity measure
#' @param method method for adjacency function
#' @param exp exponent for power function
#'
#' @return
#' @export
#'
#'
adjacency <- function(data, method = "power", exp = 1) {
if(method == "power") {
data^exp
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.