data.extract: Essential data extraction.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Extracts the essential data out of budburst and leafcolouring data and combines them.

Usage

1
2
3
data.extract(data.budburst, data.leafcolouring, 
			valid.years=1952:2009, out2File=FALSE, 
			silent=FALSE)

Arguments

data.budburst

A dataset extracted by function data.read.phase containing budburst information of currently processed plant.

data.leafcolouring

A dataset extracted by function data.read.phase containing leafcolouring information of currently processed plant.

valid.years

The years that should be included in extraction process (may be needed if some data in datasets are insufficient).

out2File

A boolean value determining wether the output will be stored in log-files.

silent

A boolean value determining wether the function should generate output messages or not.

Details

This function extracts the essential data out of budburst and leafcolouring data and combines them. Therefor it extracts the stations contained in both datasets and searches the leafcolouring dates and the related budburst date (at the following year).

Value

A dataset containing the station ID, the station geographic and the Gauss-Krueger-coordinates of the station, the altitude of the station, the year and the julian day of the budburst and the leafcolouring and outlier information for budburst and leafcolouring.

Author(s)

Daniel Doktor, Maximilian Lange

See Also

data.read.phase,lcObs,bbObs,extractedObs

Examples

1
2
3
4
5
6
7
8
9
  ## load budburst observations (extracted via 'data.read.phase')
  data(bbObs)
  ## load leafcolouring observations (extracted via 'data.read.phase')
  data(lcObs)

  ## extract essential data
  data.extracted <- data.extract(data.budburst=bbObs, 
				data.leafcolouring=lcObs, 
				out2File=FALSE)

phenmod documentation built on May 1, 2019, 8:46 p.m.