As the input x, with pertinent elements dropped or replaced
Arguments
x
vector of data to be clipped at range
range
range, a numerical vector of 2 elements
clipped
if NULL, the clipped data will be dropped.
Otherwise, they will be replaced by clipped, which is
typically set to NA.
If clipped is numerical of length 2, the elements of
x clipped below are set to clipped[1],
those clipped by range[2], by clipped[2].
Therefore, if clipped equals range,
x will be "Winsorized".