Closed bgreenwell closed 4 years ago
Exact contributions can be obtained easily using predict(lm_fit, type = "terms"); note however, that the model should be additive in this case (i.e., no interaction effects).
predict(lm_fit, type = "terms")
Exact contributions can be obtained easily using
predict(lm_fit, type = "terms")
; note however, that the model should be additive in this case (i.e., no interaction effects).