emat_operations: Edge matrix operations

emat_operationsR Documentation

Edge matrix operations

Description

Edge matrix operations needed for ips algorithms

Usage

emat_compare(emat1, emat2)

emat_complement(emat1, emat2)

emat_sort(emat1)

order_rows(emat)

Arguments

emat, emat1, emat2

Edge matrix (a 2 x p matrix)

Details

An emat with p edges is represented by a 2 x p matrix.

Note

These functions may well be removed from the package in future relases

Author(s)

Søren Højsgaard, sorenh@math.aau.dk

Examples

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)

gRim documentation built on Oct. 16, 2024, 1:07 a.m.