elpdLeks <-
function(x)
{
if (!inherits(x,"LLCountsSim"))
stop("x should be of class LLCountsSim")
ui <- apply(x,1,function(y) {
z <- y-max(y)
log(mean(exp(z)))+max(y)
})
return(ui)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.