make_re_matrix.Rd
the original value is saved a attributes
make_re_matrix(x, lower, upper, space = 1)
the covariate that we wish to smooth
the original values is made unique and sorted
make_re_matrix(sample(1:10, 7))
#> 7 x 9 sparse Matrix of class "dgCMatrix"
#>
#> [1,] . . . . 1 . . . .
#> [2,] . . . . . . . 1 .
#> [3,] . . . 1 . . . . .
#> [4,] . . . . . . 1 . .
#> [5,] . . . . . 1 . . .
#> [6,] 1 . . . . . . . .
#> [7,] . . . . . . . . 1