"findcd" <- function(x, y, scaleInc = 0.001)
{
yRange <- range(y)
lenyRange <- scaleInc * diff(yRange)
# cVal <- yRange[1] - lenyRange # the c parameter
# dVal <- yRange[2] + lenyRange # the d parameter
c(yRange[1] - lenyRange, yRange[2] + lenyRange)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.