Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
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).