Arguments
n
The number of observations in the sequence.
E
The edge matrix (a "number of edges" by 2 matrix) for the similarity graph. Each row contains the node indices of an edge.
n0
The starting index to be considered as a candidate for the change-point.
n1
The ending index to be considered as a candidate for the change-point.
pval.appr
If it is TRUE, the function outputs p-value approximation based on asymptotic properties.
skew.corr
This argument is useful only when pval.appr=TURE. If skew.corr is TRUE, the p-value approximation would incorporate skewness correction.
pval.perm
If it is TRUE, the function outputs p-value from doing B permutations, where B is another argument that you can specify. Use this argument with caution that it may take long time to finish the permutation.
B
This argument is useful only when pval.perm=TRUE. The default value for B is 100.