get_central_pos <-
function(segments)
{
# segments
ilength<-length(segments$start)
i_centre<-segments$centre[1:ilength]
return(i_centre)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.