extractGeotopVar: Extract variable from an object returend by...

Description Usage Arguments Note Examples

Description

Extract variable from an object returend by GEOtop_ReadValidationData

Usage

1
2
3
extractGeotopVar(x, InputVar = NULL, Add_InputVar = NULL,
  aggregate = c("hourly", "daily", "monthly", "yearly"),
  aggregate_fun = c("mean", "sum"), ...)

Arguments

x

objectect returned by GEOtop_ReadValidationData with merge==TRUE

InputVar

discover variable

Add_InputVar

additional variable (simulated)

aggregate

aggregate option. Default it is c("hourly","daily","monthly","yearly") and it is considered the first element.

aggregate_fun

aggregate function for InputVar and Add_InputVar respectively. Deafault is c("mean","sum").

...

further arguments

Note

It is assumed that x already contains hourly aggregated time series, so in case aggregare=="hourly" no aggragetion is calculated.

Examples

1
2
3
4
5
6
7
8
wpath <- '/home/ecor/activity/2016/eurac2016/idra/B2_BeG_017_DVM_001_test_1' 


ex <- GEOtop_ReadValidationData(wpath = wpath)
 
eout <- extractGeotopVar(ex)
dout <- extractGeotopVar(ex,aggregate="daily")
mout <-  extractGeotopVar(ex,aggregate="monthly")

ecor/geotopAnalytics documentation built on May 15, 2019, 8:54 p.m.