#' @title Print a list of available spectral indexes
#' @description helper function used to show the user a DT containing the list
#' of available spectral indexes
#' @return NULL - The function is called for its side effects
#' @rdname pr_listindexes
#' @export
#' @importFrom DT datatable
pr_listindexes <- function(){
list <- read.table(system.file("extdata/indexes_list.txt",
package = "prismaread"), sep = "\t",
header = TRUE)
DT::datatable(list)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.