Wrapper for tidymodels interface for ConR thresholds.

conr_rules(formula, data)

Arguments

formula

An object of class stats::formula specifying the target column in relation to the EOO, AOO, and locations column, e.g. y ~ eoo + aoo + locs.

data

A dataframe with the target, EOO, AOO, and number of locations.