spectralAnalysis (version 3.12.0)

getTimePoints: generic function to extract timePoints-slot

Description

generic function to extract timePoints-slot

Usage

getTimePoints(object, ...)

# S4 method for SpectraInTime getTimePoints(object, timePointsAlt = FALSE, timeUnit = "seconds")

Arguments

object

a S4 class object

...

additional parameters

timePointsAlt

logical indicator to get alternative (shifted) instead of recorded time points, defaults to FALSE

timeUnit

unit to use , choose between: seconds , minutes or hours, defaults equal to seconds

Examples

Run this code
# NOT RUN {
 spectra    <-  getSpectraInTimeExample()
 getTimePoints( spectra )
 getTimePoints( spectra , timePointsAlt = TRUE  )
 getTimePoints( spectra , timeUnit = "hours"  )
# }

Run the code above in your browser using DataCamp Workspace