View source: R/data.combine.timeseries.R
data.combine.timeseries | R Documentation |
Creates combined timeseries out of the dataset by using clusters of stations.
data.combine.timeseries(dataset, clusters, silent=FALSE, out2File=FALSE, minimalClusterSize=5)
dataset |
A dataset created by |
clusters |
A list of station clusters generated by |
silent |
A boolean value determining wether the function should generate output messages or not. |
out2File |
A boolean value determining wether the output will be stored in log-files. |
minimalClusterSize |
An integer value determining the minimal number of stations in a cluster to be included in combining process. |
The combined timeseries are created by using the function pheno.lad.fit
of package ‘pheno’. This process eliminates outliers and smooths the data.
A dataset containing the combined timeseries as a data.frame with same columns like a data.frame created by data.extract
.
Daniel Doktor, Maximilian Lange
Schaber J., Badeck F. (2002). Evaluation of methods for the combination of phenological time series and outlier detection. Tree Physiology, 22:973-982
pheno.lad.fit
, data.extract
,
data.combine.stationNet
, data.combine.clusters
## load extracted observations as created by 'data.extract' data(extractedObs) ## create station net stations.net <- data.combine.stationNet(extractedObs, range=5000, alt.range=50, silent=FALSE, out2File=FALSE) ## search clusters in station net clusters <- data.combine.clusters(extractedObs, stations.net, shuffle=TRUE, tries=3, silent=FALSE, out2File=FALSE) ## combine timeseries data.combined <- data.combine.timeseries(extractedObs, clusters, out2File=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.