getTimePoints: generic function to extract 'timePoints'-slot

Description Usage Arguments Examples

Description

generic function to extract timePoints-slot

Usage

1
2
3
4
5
getTimePoints(object, ...)

## S4 method for signature '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

1
2
3
4
 spectra    <-  getSpectraInTimeExample()
 getTimePoints( spectra )
 getTimePoints( spectra , timePointsAlt = TRUE  )
 getTimePoints( spectra , timeUnit = "hours"  )

spectralAnalysis documentation built on June 12, 2018, 5:04 p.m.