peak_duration_max_force | R Documentation |
Calculate duration and maximum force for each individual peak.
peak_duration_max_force( df.peaks, df.data, path.data = NULL, show.progress = FALSE )
df.peaks |
The resulting tibble of the function |
df.data |
A data frame or tibble in the below format. The columns |
path.data |
A string character defining where to save the results. If |
show.progress |
A logical value indicating if progress should be
printed to the console. Default: |
Changes values within df.peaks
and returns the changed tibble.
df.data
needs to contain the following columns:
t | force | measurement |
t.1 | force.1 | measurement.1 |
... | ... | ... |
t.n | force.n | measurement.m |
# Using the forceR::df.all.200.tax dataset: # This function needs user input. peaks.df <- correct_peak(df.peaks = forceR::peaks.df, df.data = forceR::df.all.200.tax, measurement = "m_01", peak = 1, additional.msecs = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.