ss_runsetter | R Documentation |
Use on appended data files where multiple measurements are made in one file. Will create an "ID" column for each individual measurement, as determined by threshhold. When the difference in the chosen column is greater than the provided threshhold it will decide that it is a new measurement.
ss_runsetter(df, threshhold = 2, aslist = FALSE, column = "Time")
df |
The data table (singular) to analyze |
threshhold |
The difference in the chosen column that is to be considered a new measurement. |
aslist |
When FALSE, returns a dataframe with an ID column that distinguishes separate measurements. When TRUE, returns the same but divided into a list, with one element per measurement. |
column |
The chosen column to study for differences in threshhold. Defaults to "Time," used by me to differentiate different measurements taken in the same folder but separated by time. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.