"T2prob" <-
function(T) {
if(any(T < 1)) {
warning("Invalid return period")
return(NULL)
}
return(1 - 1/T)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.