Numeric value length of file name for truncation. Truncated file
name is given at output for ease of use.
filterValue
Numeric value for setting for rolling average from package
zoo
CombinedGraph
logical scalar checking whether to plot combined graph
of all data or not
SingleGraph
logical scalar checking whether to plot single graphs of
all data or not
Value
Plots Friction vs Distance scatter plots with given filter value if
CombinedGraph and or SingleGraph options are set, else will return nothing
Set work directory to file containing example data
for Tribometer directory should be
Warning
Before using this function please set your working
directory to the directory that contains .csv files from tribometer. File
structure should be as follows
Time
Distance
Laps
mu
FrictionForce
0,100
0
0,00000
0,18478
0,55435
You can check example datasets at package files exdata/tribometer