R/pr_listindexes.R

Defines functions pr_listindexes

Documented in pr_listindexes

#' @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)
}
lbusett/prismaread documentation built on Feb. 22, 2022, 7:33 p.m.