summary-methods {ASICS} | R Documentation

## Summary methods

### Description

Methods available to summarize the various S4 objects of ASICS package.

### Usage

    ## S4 method for signature 'Spectra'
    show(object)

    ## S4 method for signature 'Spectra'
    summary(object)

    ## S4 method for signature 'Spectra'
    length(x)

    ## S4 method for signature 'Spectra'
    dim(x)

    ## S4 method for signature 'ASICSResults'
    show(object)

    ## S4 method for signature 'ASICSResults'
    dim(x)

    ## S4 method for signature 'AnalysisResults'
    show(object)

    ## S4 method for signature 'AnalysisResults'
    summary(object)

### Arguments

`object` | An object of class Spectra, PureLibrary, ASICSResults or AnalysisResults.
`x` | An object of class Spectra, PureLibrary or ASICSResults.

### Value

A summary of the object, its length or its dimensions.

### Examples

    # Import data and create object
    current_path <- file.path(system.file("extdata", package = "ASICS"),
                              "spectra_example.txt")
    spectra_data <- read.table(current_path, header = TRUE, row.names = 1)
    spectra_obj <- createSpectra(spectra_data)

    # Summary
    summary(spectra_obj)
    # Length
    length(spectra_obj)
    # Dimensions
    dim(spectra_obj)

[Package ASICS version 2.2.0 Index]