View source: R/canonical-interface.R
| gseg2_data | R Documentation |
Constructs a k-MST and applies the changed-interval scan.
gseg2_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 gseg2, with the constructed graph and realized k added.
gseg2, gseg1_data, gseg_kmst
set.seed(1)
x <- matrix(rnorm(60), nrow = 20)
ans <- gseg2_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.