Nothing
#' This function normalises each column in S to row sum
#'
#'
#' @keywords internal
#'
#' @param S xx
#'
#' @return A matrix
#'
#' @examples
#'
Normalise_S <- function(S){
S <- S[,1:ncol(S)]
#Normalise to unit row sum
S.sum <- rowSums(S)
S <- S/S.sum
#vectorise / matrices
Sm <- as.matrix(S)
Sn <- as.vector(Sm[1,])
return(Sm)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.