Closed haziqj closed 6 years ago
If fitting using formula method, and the new data frame does not contain the response variable then predict function fails. This stems from the fact that it was not able to generate a similar data frame based on the formula for new data.
Also need to check one.lam = TRUE option for formula method.
one.lam = TRUE
If fitting using formula method, and the new data frame does not contain the response variable then predict function fails. This stems from the fact that it was not able to generate a similar data frame based on the formula for new data.