renderHeightSlider = function( id, height )
{
if ( is.null( height ) )
return ( NULL )
if ( length( height ) != 2 )
return ( NULL )
return (
sliderInput(
paste0( id,".height"),
"height",
height[1],
height[2],
( height[1] + height[2] )/2
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.