Learn R Programming

geospatialsuite (version 0.1.1)

validate_method: Validate method parameter

Description

Validate method parameter

Usage

validate_method(method, valid_methods, param_name = "method")

Value

TRUE if valid, stops with error if invalid

Arguments

method

Method to validate

valid_methods

Vector of valid methods

param_name

Parameter name for error messages