Learn R Programming

FREddyPro (version 1.0)

readEddyPro: Read EddyPro full output

Description

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

Usage

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"

Value

Returns a data frame

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.

Examples

Run this code
## 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')

Run the code above in your browser using DataLab