BIC.drcOrdinal <- function(object, epsilon = 10^(-16)){
n.parameters <- sum(sapply(object$drmList, function(mod) length(mod$coefficients)))
n.obs <- sum(object$data[[object$weights]])
n.parameters * log(n.obs) - 2 * logLik(object, epsilon)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.