Nothing
#'
#' sampleDist.Spectra
#'
#' @author `r .writeDoc_Authors("BH")`
#' @export
#' @noRd
#'
sampleDist.Spectra <- function(spectra, method = "pearson", plot = TRUE, ...) {
.chkArgs(mode = 11L)
chkSpectra(spectra)
M <- rowDist(spectra$data, method)
M <- as.matrix(M)
dimnames(M) <- list(spectra$names, spectra$names)
if (plot) .distPlot(spectra, M, method, ...)
M
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.