summary-methods {ASICS} | R Documentation |
Methods available to summarize the various S4 objects of ASICS package.
## 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)
object |
An object of class Spectra, PureLibrary, ASICSResults or AnalysisResults. |
x |
An object of class Spectra, PureLibrary or ASICSResults. |
A summary of the object, its length or its dimensions.
# 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)