fwgtmat | R Documentation |
Obtains the weight matrix for all intersection hypotheses.
fwgtmat(w, G)
w |
The vector of weights for elementary hypotheses. |
G |
The transition matrix. |
The weight matrix starting with the global null hypothesis.
Kaifeng Lu, kaifenglu@gmail.com
w = c(0.5,0.5,0,0)
g = matrix(c(0,0,1,0, 0,0,0,1, 0,1,0,0, 1,0,0,0),
nrow=4, ncol=4, byrow=TRUE)
(wgtmat = fwgtmat(w,g))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.