Displaying 1 result from an estimated 1 matches for "plotdagpvalues".
2009 Jul 06
0
R won't recognize the order
...size.
holm - Boolean variable indicating whether Holm?s p-value adjustment should
be used
(holm=TRUE) or not (holm=FALSE).
Value
A matrix 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 functi...