#' @export get_x<-function(x, index = NULL, dim = 2 ) { if(!is.null(x) & !is.null(index) ){ return(x$index_select(dim = dim,index = index)) } else{ 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.