Nothing
"ptri" <-
function(x, a = 0., b = a + 2.)
{
x <- (x - a)/(b - a)
temp <- ifelse(x < 0.5, 2. * x^2., 1. - 2. * (1. - x)^2.)
temp <- ifelse(x < 0., 0., temp)
ifelse(x > 1., 1., temp)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.