"coef.drc" <- function(object, ...) { if (!is.null(object$"coefficients")) { return(object$"coefficients") } else { retVec <- object$fit$par names(retVec) <- object$parNames[[1]] return(retVec) } }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.