RF: simplified selective function calling according to data dimension and interpolation type.