infer_invlinks <- function(namelink) {
if (namelink == "log") {
invlink <- exp
} else if (namelink == "identity") {
invlink <- identity
} else {
invlink <- NULL
}
return(invlink)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.