Description Usage Arguments Details Value Author(s) Examples
Takes a list of files and binds them together at the desired number of seconds. If you have a load of files all starting at the same number of seconds (eg first light on at 180 seconds) the code will cut all the data at that point.
1 | read_data_Oxylab(file.list, start.time, cat)
|
file.list |
A list of O2 view files |
start.time |
The row at which you want data to be collected from |
cat |
whether you want the files printed to the console as they progress |
O2 view files unfortunately do not have continuous values in the Light column. Instead only the changes in light are recorded. This function completes the light column by taking the last value in the column and filling all the rows until the next value.
After running the code you are left with a four column data frame (O2, time, light, identifier)
identifier - the identifier is the name of each file without the extension added. So I cannot stress the importance of having logical names for each file!
a dataframe of the combined Oxylab files with a column identifying each file
Daniel Padfield
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.