signal_merge | R Documentation |
This function merges two or more single signals into one common. Only
eseis
objects are supported. Gaps will be filled with NA
values unless the argument fill = TRUE
. The resulting data length
will correspond to the combined length of the input data. The sampling
frequency must be the same for all input data sets. The meta data of the
first stream will be used for the output data.
signal_merge(..., fill = FALSE)
... |
|
fill |
|
eseis
object with merged input data sets
Michael Dietze
## load rockfall data set
data("rockfall")
s_1 <- rockfall_eseis
## duplicate data set and shift start time (incl. gap)
s_2 <- s_1
s_2$meta$starttime <- s_2$meta$starttime + 500
## merge data sets
s_merged <- signal_merge(s_1, s_2)
## plot merged data set
plot(s_merged)
## merge and fill gap
s_merged_filled <- signal_merge(s_1, s_2, fill = TRUE)
## plot merged data set
plot(s_merged_filled)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.