# NOT RUN {
data(dsCont)
m1 <- minForest(dsCont,homog=TRUE,forbEdges=NULL,stat="LR")
ch <- findEd(m1@edges,m1@p,NULL,0)
ch <- chStat(m1,dsCont,ch,forbEdges=0)
str(ch)
# List of 2
# $ edges.to.test: num [1:53, 1:5] 1 11 19 11 17 2 2 10 10 2 ...
# $ S :List of 53
# ..$ : int 11
# ..$ : int 21
# ..$ : int 21
# ..$ : int 21
# ..$ : int 27
# ..$ : int 17
# ...
head(ch$edges.to.test)
# [,1] [,2] [,3] [,4] [,5]
# [1,] 1 21 1 -0.61733689 1
# [2,] 11 19 2 -0.24637623 1
# [3,] 19 27 3 -0.47194908 1
# [4,] 11 27 4 -7.00259895 1
# [5,] 17 21 5 -11.09310305 1
# [6,] 2 27 6 -0.04690911 1
# the columns in ch$edges.to.test
# 1: first vertex in the edge
# 2: second vertex in the edge
# 3: index os the separator in ch$S
# 4: change in the LR for the edge
# 5: number of parameters for the edge
# }
Run the code above in your browser using DataLab