range.cap = function( x, r ) { x[ which( x < r[1] ) ] = r[1] x[ which( x > r[2] ) ] = r[2] return(x) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.