powered by
Based on bandwidth.nrd from MASS. This version takes the absolute value of var to avoid errors.
bandwidth.nrd
var
custom_bw(x)
A numeric vector