#' Selects standard columns to display - first and last 5
#'
#' @param numCol \code{numeric} Number of columns to select from
#'
#' @return Selected first and last 5 of columns
#'
ncol_to_selectedColumns <- function(numCol){
if(numCol < 5){
1:numCol
}else{
union(1:5, (numCol - 4):numCol)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.