R/summary_bunch.R

Defines functions print.summary.SQMbunch summary.SQMbunch

Documented in summary.SQMbunch

#' summary method for class SQMbunch
#'
#' Computes different statistics of the data contained in the SQMbunch object.
#' @param object SQMbunch object to be summarized.
#' @param ... Additional parameters (ignored).
#' @return A list of summary statistics.
#' @export
summary.SQMbunch = function(object, ...)
    {

    SQM = object # so that CRAN is happy

    if(!inherits(SQM, 'SQMbunch')) { stop('The first argument must be a SQM object') }

    res = summary.SQMlite(SQM)

    return(res)
    }


#' @export
#' @noRd
print.summary.SQMbunch = function(x, ...)
    {
    print.summary.SQMlite(x)
    }

Try the SQMtools package in your browser

Any scripts or data that you put into this service are public.

SQMtools documentation built on April 3, 2025, 6:16 p.m.