Nothing
#'
#' sampleDist.Spectra2D
#'
#' @author `r .writeDoc_Authors("BH")`
#' @export
#' @noRd
#'
sampleDist.Spectra2D <- function(spectra, method = "pearson", plot = TRUE, ...) {
.chkArgs(mode = 21L)
chkSpectra(spectra)
M1 <- ChemoSpec2D::.unstack(spectra)
M <- rowDist(M1, 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.