pr_check_formulas: pr_check_formulas

View source: R/pr_check_formulas.R

pr_check_formulasR Documentation

pr_check_formulas

Description

Helper function used to check if formula of a spectral index can be computed

Usage

pr_check_formulas(indexes)

Arguments

indexes

either a named list containing indexes names and formulas ( e.g., indexes = list(myindex1 = "R500 / R600", myindex2 = "(R800 - R680) / (R800 + R680)")), or a data.frame containing the columns "Name" and "Formula".

Details

DETAILS

Value

NULL the function is called for its side effects

Examples

## Not run: 
 pr_check_formulas(indexes = list(myindex1 = "R500 / R600",
                      myindex2 = "(R800 - R680) / (R800 + R680)"))

## End(Not run)

ranghetti/prismaread documentation built on March 20, 2022, 11:37 a.m.