timeAlign | R Documentation |
Time align first object, using info in the second object
timeAlign(x, y, ...) ## S4 method for signature 'SpectraInTime,ProcessTimes' timeAlign(x, y, cutCooling = FALSE, cutBeforeMinTemp = FALSE) ## S4 method for signature 'list,ProcessTimesFrame' timeAlign(x, y, cutCooling = FALSE, cutBeforeMinTemp = FALSE) ## S4 method for signature 'list,character' timeAlign( x, y, cutCooling = FALSE, cutBeforeMinTemp = FALSE, timeFormat = "%Y-%m-%d %H:%M:%S" )
x |
and S4 object to be aligned |
y |
object to use time information from |
... |
additional arguments |
cutCooling |
logical indicator if |
cutBeforeMinTemp |
logical indicator if |
timeFormat |
character vector specifying time format |
SpectraInTime-class
or list of spectra depending on input
spectra <- getSpectraInTimeExample() listOfSpectra <- getListOfSpectraExample() processTimes <- getProcessTimesExample() processTimesFrame <- getProcessTimesFrameExample() pathProcessTimes <- getPathProcessTimesExample() ex1 <- timeAlign( x = spectra , y = processTimes , cutCooling = TRUE , cutBeforeMinTemp = TRUE ) ex2 <- timeAlign( x = listOfSpectra , y = processTimesFrame , cutCooling = TRUE , cutBeforeMinTemp = TRUE ) ex3 <- timeAlign( x = listOfSpectra , y = pathProcessTimes, cutCooling = TRUE , cutBeforeMinTemp = TRUE , timeFormat = "%Y-%m-%d %H:%M:%OS" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.