# Using the forceR::df.all.200.tax and forceR::df.all.200.tax datasets:
# rescale bites
peaks.df.norm <- rescale_peaks(df.peaks = forceR::peaks.df,
df.data = forceR::df.all.200.tax,
plot.to.screen = FALSE,
path.data = NULL,
show.progress = FALSE)
# maximum values of time and force both range from 0 - 1:
range(peaks.df.norm$t.norm)
range(peaks.df.norm$force.norm)
Run the code above in your browser using DataLab