import.multiple.GFS3000: Importing GFS3000 .csv files

Description Usage Arguments Details Value Examples

View source: R/import.multiple.GFS3000.R

Description

Made specifically for the lab324 University of Bristol GFS3000 machine which saves csv files in a slightly odd format.

Usage

1

Arguments

files

list of file paths to GFS3000 .csv files

names

list of names

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.

Details

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.

Value

A dataframe containing data from all of the GFS3000 runs

Examples

1
2
3
#basic usage of import.multiple.GFS3000

DF1 = import.multiple.GFS3000(c("file1.csv", "file2.csv"), name=c("Col-0","Col-0"), time0s=c("2019-11-19 09:00:00","2019-11-19 09:00:00"))

APridgeon/GFS3000AnalysR documentation built on Dec. 17, 2021, 6:43 a.m.