`densitydiff_1d_num` ... probably another name for the function, and maybe to join together with `densitydiff_1d_cat`. New function arguments `conditional` instead of `strata_x` and `strata_y`. Also for more than one variable, such as function `compare`.
densitydiff_1d_num... probably another name for the function, andmaybe to join together with
densitydiff_1d_cat. New function argumentsconditionalinstead ofstrata_xandstrata_y. Also for more thanone variable, such as function
compare.