## load example data set
data(rockfall)
## detrend data set
s <- signal_detrend(data = rockfall_eseis)
## interpolate by factor 2
s_int = signal_interpolate(data = s, n = 2)
## calculate and plot spectrogram
p_int = signal_spectrogram(data = s_int)
plot(p_int)
Run the code above in your browser using DataLab