powered by
Edge matrix operations needed for ips algorithms
emat_compare(emat1, emat2)emat_complement(emat1, emat2)emat_sort(emat1)order_rows(emat)
emat_complement(emat1, emat2)
emat_sort(emat1)
order_rows(emat)
Edge matrix (a 2 x p matrix)
Søren Højsgaard, sorenh@math.aau.dk
An emat with p edges is represented by a 2 x p matrix.
emat1 <- model_saturated(3:4, type="emat") emat2 <- model_saturated(1:4, type="emat") emat_complement(emat1, emat2) emat3 <- model_saturated(2:4, type="emat") emat_compare(emat1, emat3)
Run the code above in your browser using DataLab