gavinsimpson / gratia

ggplot-based graphics and useful functions for GAMs fitted using the mgcv package
https://gavinsimpson.github.io/gratia/
Other
206 stars 28 forks source link

`difference_smooths()` should have a `dist` argument to exclude points too far from the data #192

Open gavinsimpson opened 2 years ago

gavinsimpson commented 2 years ago

Match draw.gam() and have a dist argument that sets points in a 2d surface that are too far from the support of the data, for difference_smooths() when differencing 2d smooths.