updateGraph {lrstat} | R Documentation |
Update graph for graphical approaches
Description
Updates the weights and transition matrix for graphical approaches.
Usage
updateGraph(w, G, I, j)
Arguments
w |
The current vector of weights for elementary hypotheses. |
G |
The current transition matrix. |
I |
The set of indices for yet to be rejected hypotheses. |
j |
The hypothesis to remove from index set |
Value
A list containing the new vector of weights, the new transition matrix for the graph, and the new set of indices of yet to be rejected hypotheses.
Author(s)
Kaifeng Lu, kaifenglu@gmail.com
Examples
updateGraph(w = c(0.5, 0.5, 0, 0),
G = matrix(c(0, 0.5, 0.5, 0, 0.5, 0, 0, 0.5,
0, 1, 0, 0, 1, 0, 0, 0),
nrow=4, ncol=4, byrow=TRUE),
I = c(1, 2, 3, 4),
j = 1)
[Package lrstat version 0.2.9 Index]