leeper / prediction

Tidy, Type-Safe 'prediction()' Methods
https://cran.r-project.org/package=prediction
Other
89 stars 14 forks source link

Relationship with broom::augment? #20

Closed hughjonesd closed 6 years ago

hughjonesd commented 6 years ago

This looks interesting. Could I ask how it relates to broom::augment?

leeper commented 6 years ago

They're similar. This one solves a narrower problem (namely getting predicted values in a data frame). It exists primarily to support the margins package.

broom does more than that. They also take slightly different approaches in handling predictions.

hughjonesd commented 6 years ago

Do you think it would it be worthwhile to merge some of the package into broom::augment?