powered by
This function calculates the border value for a feature based on the feature information and a given value.
calculate_border(feature_info, value)
The calculated border value.
Information about the feature.
The value to calculate the border for.
feature_info <- list(type = "numerical", lower_bound = 0, upper_bound = 1) border_value <- calculate_border(feature_info, 0.5)
Run the code above in your browser using DataLab