The predict() function is a wrapper function for the predict.ta.lars() and predict.ta.glm() functions.