project | R Documentation |
This function project exposures x to the orthogonal complement of confounders c.
project(cfd, x)
cfd |
a matrix of nxq dimensional confounders |
x |
a matrix of nxp dimensional exposures |
This function uses c to form projection P=I-c(c'c)^(-)c' and then compute projection z=Px
projtocorth, the projected x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.