Displaying 1 result from an estimated 1 matches for "drawgraph".
Did you mean:
crangraph
2009 Jul 06
0
R won't recognize the order
...x of simultaneous p-values with NA on the diagonal.
library(SIN)
data(pubprod)
pvals <-
sinDAG(order=list(5,1,2,3,4,7,6),S=pubprod$corr,n=pubprod$n,holm=TRUE)
plotDAGpvalues(pvals, legend=TRUE, legendpos=NULL)
alpha <- 0.06
amat <- getgraph(pvals, alpha, type="DAG")
library(ggm)
drawGraph(amat)
I?m using sample data called pubprod from the SIN package, and I was
wondering: Shouldn?t the order specified show up when ?pvals? is typed in?
Further functions that depend on the ordering do not work such as
plotDAGpvalues, and drawGraph from the ggm package. What to do? Any help
would...