#' Normalize Data
#'
#' Normalizes matrix format data
#'
#' @param x a matrix containing the values of direct relationship decision matrix.
#'
#' @return This function returns a \code{list} of data, rows and columns info, and normalized matrix.
#'
#' @export
#'
#' @examples
#' normalize(dematel::hospitaldata)
#' normalize(dematel::nurseselection)
#' normalize(dematel::medicaldevice)
normalize <- function(x) {
# Include an error if x is not a matrix
x <- check_data(x)
# Create a list
return(list(data = x,
normalized_matrix = normalize_data(x)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.