Formula-level wrapper over the matrix core UCI implementation.
Examples
set.seed(4)
d <- data.frame(y = rnorm(80), x = rnorm(80), z = rnorm(80))
sp_uci(y ~ x | z, d, inst = "z", gmin = -0.1, gmax = 0.1, grid = 5)
#> term conf.low conf.high
#> 1 (Intercept) -0.4302267 0.5464528
#> 2 x -5.4262559 3.0779421