Description Usage Arguments Value Author(s) See Also
View source: R/projection.ip.r
Projects the columns of the matrix M
on the space spanned by the
columns of the matrix X
, with respect to the inner product
defined by weight
: <xy>=sum(x*w*y)
.
1  projection.ip(X, M, orth = FALSE, weight = rep(1, nrow(X)))

X 
Matrix defining the space to project onto. 
M 
Matrix of columns to be projected. Must have the same number
of rows as 
orth 
Should the projection be on the orthogonal complement to

weight 
Weights defining the inner product. Numerical vector of
length 
A matrix of full rank with columns in span(X)
Bendix Carstensen, Steno Diabetes Center, http://bendixcarstensen.com, with help from Peter Dalgaard.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.