Sl.inirep {mgcv} | R Documentation |
INTERNAL routine to apply initial Sl re-parameterization to model matrix X,
or, if inverse==TRUE
, to apply inverse re-parametrization to parameter vector
or covariance matrix.
Sl.inirep(Sl,X,l,r,nt=1) Sl.initial.repara(Sl, X, inverse = FALSE, both.sides = TRUE, cov = TRUE, nt = 1)
Sl |
the output of |
X |
the model matrix. |
l |
if non-zero apply transform (positive) or inverse transform from left. 1 or -1 of transform, 2 or -2 for transpose. |
r |
if non-zero apply transform (positive) or inverse transform from right. 1 or -1 of transform, 2 or -2 for transpose. |
inverse |
if |
both.sides |
if |
cov |
boolean indicating whether |
nt |
number of parallel threads to be used. |
A re-parametrized version of X
.
Simon N. Wood <simon.wood@r-project.org>.