Nothing
#' getConditional: a function for obtaining the coditional probability tables based on a given evidence.
#'
#' @param lf A list of joint probabilities.
#' @export
#' @return A list of conditioned probabilities.
getConditional<-function(lf){
lf<-lapply(lf,function(x){
x$prob <- x$prob/sum(x$prob)
return(x)
})
return(lf)
}
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.