Code
bag_mars("regression") %>% fit(Sale_Price ~ Longitude + Latitude, data = ames,
case_weights = wts)
Condition
Error in `case_weights_allowed()`:
! Error in getting model information for model bag_mars with engine earth and mode regression.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.