calculate_border {niarules} | R Documentation |
This function calculates the border value for a feature based on the feature information and a given value.
calculate_border(feature_info, value)
feature_info |
Information about the feature. |
value |
The value to calculate the border for. |
The calculated border value.
feature_info <- list(type = "numerical", lower_bound = 0, upper_bound = 1)
border_value <- calculate_border(feature_info, 0.5)