importTOACI1data: imports a datafile into an R structure (type of structure...

Description Usage Arguments Value

Description

importTOACI1data reads TOACI1 text file and transposes contents into an R structure

Usage

1
importTOACI1data(filename, RetOpt = "data", time = "POSIXlt")

Arguments

filename

the TOACI1 file name with extension (generally .dat)

RetOpt

Return option. As TOACI1 has a header before data, you can choose to get the header (RetOpt = "info", structure type = vector), the data (RetOpt = "data"(default), structure type = data.frame) or both (RetOpt = "all" , structure type = list).

time

Time structure for storing TMSTAMP. May be POSIXct or POSIXlt. POSIXlt is a better solution for milisecond precision, but causes weird behavior with reshape2::melt function.

Value

An R Structure depending on RetOpt param.


Rupicapra-rupicapra/rcsi documentation built on May 9, 2019, 10:37 a.m.