RF: use custom correlation function if p value is not requested