pliman_indexes_ican_compute: List Computable Indexes Based on Available Bands

View source: R/utils_indexes.R

pliman_indexes_ican_computeR Documentation

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)

Arguments

available

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

Value

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

Examples

library(pliman)
available_bands <- c("R", "G")
computable_indexes <- pliman_indexes_ican_compute(available_bands)
print(computable_indexes)

TiagoOlivoto/pliman documentation built on Sept. 14, 2024, 2:24 a.m.