Learn R Programming

pliman (version 3.1.0)

pliman_indexes_ican_compute: List Computable Indexes Based on Available Bands

Description

This function reads index equations from a CSV file included in the pliman package, determines which bands are used in each index equation, and checks which indexes can be computed based on the provided available bands.

Usage

pliman_indexes_ican_compute(available)

Value

A data frame of indexes that can be computed with the available bands.

Arguments

available

A character vector of available bands (e.g., c("R", "G")).

Examples

Run this code
if (interactive() && requireNamespace("EBImage")) {
library(pliman)
available_bands <- c("R", "G")
computable_indexes <- pliman_indexes_ican_compute(available_bands)
print(computable_indexes)
}

Run the code above in your browser using DataLab