conditions {multilandr}R Documentation

Define metric conditions

Description

Helper function to define patch conditions within generate_points() or metric conditions within metrics_filter().

Usage

conditions(...)

Arguments

...

Patch or metric conditions in the form of lists. See Details.

Details

Conditions must be defined as lists (one or more).

For patch conditions, within the environment of generate_points(), each element within the list defines the condition that the patch must meet in relation to the value of certain patch-level metric, as follows:

 list(class, metric, minimum value, maximum value)

For metric conditions, within the environment of metrics_filter(), each element within the list defines the required metric conditions, as follows:

 list(rasterlayers, class, radii, metric, minimum value, maximum value)

See the example sections of functions generate_points() and metrics_filter() for more details.

Value

A list to be inputted within the argument patch_conditions in generate_points() or the argument conditions in metrics_filter().


[Package multilandr version 1.0.0 Index]