missing_fun <- function(xi,vi){
if(missing(xi)){ # If the variable is missing, input a default value
xi <- vi
}
return(xi)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.