This code is based on Dr. Gavin Simpson's blog post https://fromthebottomoftheheap.net/2016/12/15/simultaneous-interval-revisited/.
Arguments
- mod
Object of class "striprawdata", returned from
strip_rawdata
.- newdat
Grid of values over which to create a simultaneous confidence interval.
- nsim
Number of Monte Carlo samples.
- term
Character vector of smooth terms.