powered by
moralize(object, ...) ## S3 method for class 'graphNEL': moralize(object, result="graphNEL", ...) ## S3 method for class 'igraph': moralize(object, result="igraph", ...) ## S3 method for class 'matrix': moralize(object, result="matrix", ...) moralizeMAT(amat, result=NULL)
mcs
jTree
rip
ug
dag
daG <- dag(~me+ve,~me+al,~ve+al,~al+an,~al+st,~an+st) moralize(daG) daG <- dag(~me+ve,~me+al,~ve+al,~al+an,~al+st,~an+st, result="matrix") moralizeMAT(daG)
Run the code above in your browser using DataLab