View source: R/canonical-interface.R
| gseg2_data | R Documentation |
A compatibility alias for the data-level gseg2
interface. New code may call gseg2 directly.
gseg2_data(x = NULL, dissimilarity = NULL, k = NULL,
statistics = "m", ...)
x |
A numeric matrix with observations in rows. |
dissimilarity |
A square symmetric dissimilarity matrix or a |
k |
Number of MST layers. The default is |
statistics |
Scan statistic or statistics; see |
... |
Additional arguments passed to |
The result from gseg2.
gseg2, gseg_kmst
set.seed(1)
x <- matrix(rnorm(60), nrow = 20)
ans <- gseg2_data(x, pval.appr = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.