Nothing
#' Normalize log-probability
#'
#' Normalize log-probability.
#' @param x A variable vector.
#' @return
#' \item{val}{A normalize log probability of variable vector.}
#' @export
normalise_logprob <- function(x){
x <- exp(x-max(x))
val<-x/sum(x)
return(val)
}
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.