Nothing
#'
#' Summarize the Group Membership of a Spectra or Spectra2D Object
#'
#' This function summarizes the group membership of
#' a \code{Spectra} or \code{\link[ChemoSpec2D]{Spectra2D}} object.
#'
#' @param spectra `r .writeDoc_Spectra3()`
#'
#' @return A data frame as follows. Note that if there are groups with no
#' members these are dropped.
#' \item{group}{The name of the group.}
#' \item{no.}{The number in the group.}
#' \item{color}{The color assigned to the group.}
#' \item{symbol}{The symbol assigned to the group. \code{Spectra} objects only.}
#' \item{alt.symbol}{The alternative symbol assigned to the group. \code{Spectra} objects only.}
#'
#' @author `r .writeDoc_Authors("BH")`
#'
#' @seealso To summarize the entire object, \code{\link{sumSpectra}}.
#'
#' @keywords utilities
#' @export
#'
#' @examples
#' if (checkForPackageWithVersion("ChemoSpec", 6.0)) {
#' library("ChemoSpec")
#' data(SrE.IR)
#' sumGroups(SrE.IR)
#' }
#'
#' if (checkForPackageWithVersion("ChemoSpec2D", 0.5)) {
#' library("ChemoSpec2D")
#' data(MUD1)
#' sumGroups(MUD1)
#' }
sumGroups <- function(spectra) {
UseMethod("sumGroups")
}
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.