R functions to mine sparse models from data.