# NOT RUN {
data(mydata)
df <- rpp_read2(mydata , selected=c(2, 3, 4, 0, 0, 1, 0, 0))
time_wave <- df$raw_time
resp_wave <- data.frame(df$strain,df$strain_rate,df$stress)
out <- Rpp_num(time_wave, resp_wave , L=1024, k=8, num_mode=1)
time_wave_in= out$spp_data_in$time_wave
stress_in= out$spp_data_in$stress
time_wave= out$spp_data_out$time_wave
stress= out$spp_data_out$stress
plotStressTime(time_wave_in,stress_in,time_wave,stress)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab