Out of bounds handling — oob
This set of functions modify data values outside a given range. The oob_*() functions are designed to be passed as the oob argument of ggplot2 continuous and binned scales, with oob_discard being an exception. These functions affect out of bounds values in the following ways: oob_censor() replaces out of bounds values with NAs. This is the default oob argument for continuous scales. oob_censor_any() acts like oob_censor(), but also replaces infinite values with NAs. oob_squish() replaces out of bounds values with the nearest limit. This is the default oob argument for binned scales. oob_squish_any() acts like oob_squish(), but also replaces infinite values with the nearest limit. oob_squish_infinite() only replaces infinite values by the nearest limit. oob_keep() does not adjust out of bounds values. In position scales, behaves as zooming limits without data removal. oob_discard() removes out of bounds values from the input. Not suitable for ggplot2 scales.