buildTimestamp: Build a timestamp

Description Usage Arguments Author(s) Examples

View source: R/buildTimestamp.r

Description

Use a day of year to build a timestamp column with the format used by EddyPro

Usage

1

Arguments

data

The data frame to use

doy

A string with the name for the day of year column

Author(s)

Georgios Xenakis

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Load the data
data(fluxes)

## Clean fluxes
fluxes=cleanFluxes(fluxes,sdCor=TRUE,sdTimes=3,timesList=3,distCor=TRUE,
                   thresholdList=list(H=c(-100,1000),LE=c(-100,1000)))	

## Remove some line as an example
fluxes=fluxes[-c(832,833,834,835,840,953),]

## Create timestamp from date and time
fluxes=createTimestamp(fluxes)

## Now fill the gap timestmaps with NA's
fluxes=fillTimestamp(fluxes,flux=TRUE)

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