ENH: New function lmInference.