View source: R/canonical-interface.R
| gseg1_data | R Documentation |
Constructs a k-MST and applies the single-change scan.
gseg1_data(x = NULL, dissimilarity = NULL, k = NULL,
statistics = "m", ...)
x |
Optional data matrix with observations in rows. |
dissimilarity |
Optional square dissimilarity matrix or a |
k |
Number of complete MST layers. The default is |
statistics |
Statistics passed to |
... |
Further arguments passed to |
The result from gseg1, with the constructed graph and realized k added.
gseg1, gseg2_data, gseg_kmst
set.seed(1)
x <- matrix(rnorm(60), nrow = 20)
ans <- gseg1_data(x = x, pval.appr = FALSE)
names(ans$scanZ)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.