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

Continuous by smooths should set by variable to be 1 when evaluating #224

Closed gavinsimpson closed 1 year ago

gavinsimpson commented 1 year ago

plot.gam() sets the value for a continuous by variable to be equal to 1 when plotting the varying coefficient smooth.