Description Usage Arguments Details Value Examples
View source: R/import.single.GFS3000.R
Made specifically for the lab324 University of Bristol GFS3000 machine which saves csv files in a slightly odd format.
1 | import.single.GFS3000(file, names = NA, time0s = NA)
|
file |
path to GFS3000 .csv file |
names |
optional list of strings corresponding to object numbers |
time0s |
optional list of strings corresponding to desired time 0 - must be in "2021-3-18 09:00:00" format. Adds a column "TimeNo" with time in mins. |
I've made two different functions to import files;
1 2 3 4 | 1) import.single.GFS3000 - one function that assumes different runs are in the same .csv
file under different object numbers.
2) import.multiple.GFS3000 - another function that imports a list of multiple .csv files.
|
A dataframe containing data from the GFS3000 run
1 2 3 4 5 6 7 8 9 | #basic usage of import.single.GFS3000
DF1 = import.single.GFS3000("file1.csv", names=c("Col-0"), time0s=c("2019-11-19 09:00:00"))
#usage of import.single.GFS3000 to read a file with multiple objects
#Here object 0001 corresponds to Col-0
#and object 0002 corresponds to q1124
DF1 = import.single.GFS3000("file1.csv", names=c("Col-0","q1124"), time0s=c("2019-11-19 09:00:00","2019-11-19 12:00:00"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.