Description Usage Arguments Value Warning Examples
trib.FF
gets file name length, filterValue and Friction vs Distance
combined graph and/or single graphs for data
1 |
x |
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
|
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 |
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
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
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.