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

Derivatives of the difference between two smooths #264

Open gavinsimpson opened 8 months ago

gavinsimpson commented 8 months ago

Discussed in https://github.com/gavinsimpson/gratia/discussions/263

Originally posted by **BenFN121** March 19, 2024 Hi Gavin, Is there any way that the capacity to apply the gratia::derivatives() to a difference_smooth created from gratia::difference_smooths() could be incorporated? Many thanks, Ben