Description Usage Arguments Details Value Author(s) See Also
The columns of a model matrix M
is projected on the
orthogonal complement to the matrix (1,t)
,
resp. (1,t,t^2)
.
Orthogonality is defined w.r.t. an inner product defined by the
matrix diag(weight)
.
1 2 
M 
A model matrix. 
t 
The trend defining a subspace. A numerical vector of length

weight 
Weights defining the inner product of vectors 
The functions are intended to be used in parametrization of ageperiodcohort models.
A fullrank matrix with columns orthogonal to (1,t)
, for
decurv
, (1,t,t^2)
.
Bendix Carstensen, Steno Diabetes Center, http://BendixCarstensen.com, with essential help from Peter Dalgaard.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.