trib.CoF gets file name length and returns coeficient of friction in
bar plot generates global var CF
Numeric value length of file name for truncation. Truncated file name is given at output for ease of use.
logical scalar checking whether give data out or not
Plots a bar plot of Coeficient of Friction generated from all files in working directory and generates a vector called CF that contains Average Coefficient of Friction values
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
You can check example datasets at package files exdata/tribometer
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.