estimate_slopes(fit, trend = "duration", by = "intensity=c(0,15,30,45,60)")
## Estimated Marginal Effects
##
## intensity | Slope | SE | 95% CI | t(896) | p
## -----------------------------------------------------------
## 0 | -9.38 | 5.66 | [-20.49, 1.74] | -1.66 | 0.098
## 15 | -3.48 | 2.92 | [ -9.21, 2.26] | -1.19 | 0.235
## 30 | 2.42 | 0.92 | [ 0.63, 4.22] | 2.65 | 0.008
## 45 | 8.32 | 2.99 | [ 2.46, 14.19] | 2.78 | 0.005
## 60 | 14.23 | 5.73 | [ 2.98, 25.47] | 2.48 | 0.013
##
## Marginal effects estimated for duration
## Type of slope was dY/dX