Nothing
#'
#' Make an Array/Data Cube from a Spectra2D Object
#'
#' @noRd
#'
.makeArray <- function(spectra) {
nF1 <- length(spectra$F1)
nF2 <- length(spectra$F2)
nS <- length(spectra$names)
A <- array(NA_real_,
dim = c(nF1, nF2, nS),
dimnames = list(rep("I", nF1), rep("J", nF2), rep("K", nS))
) # rows x cols x samples
for (k in 1:nS) A[, , k] <- spectra$data[[k]]
return(A)
}
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.