readEddyPro: Read EddyPro full output

Description Usage Arguments Details Value Author(s) Examples

View source: R/readEddyPro.r View source: R/functions.r

Description

A function to read the standard full output produced by EddyPro.

Usage

1
readEddyPro(dataFile, na = "NaN")

Arguments

dataFile

A character with the name of the output CSV file. String can also include full path.

na

The value used in the file to represent NAs (e.g., -9999). The default is "NaN"

Details

The EddyPro full output file has a standardise format with three header rows. The function calls the readFile function of the package with this standard number of headers.

Value

Returns a data frame

Author(s)

Georgios Xenakis

Examples

1
2
3
4
5
6
7
8
## Load the data
data(harwood)

## Write the data as csv
write.table(harwood,file="harwood.csv",sep=",",quote=FALSE,row.names=FALSE)

## Now read the file as a new data frame
harwood=readEddyPro('harwood.csv')

Example output



FREddyPro documentation built on May 29, 2017, 7:22 p.m.