data.combine.stationNet: Station net creator

View source: R/data.combine.stationNet.R

data.combine.stationNetR Documentation

Station net creator

Description

Creates a net of the stations of dataset by checking the distances between the stations.

Usage

data.combine.stationNet(dataset, range, 
					alt.range, silent=FALSE, 
					out2File=FALSE)

Arguments

dataset

A dataset created by data.extract containing the information that should be used to generate the station net.

range

The maximum distance between two stations that should be connected in the net.

alt.range

The maximum altitude difference between two stations that should be connected in the net.

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.

Details

Only stations with a maximal distance of 'range' and maximal altitude difference of ‘alt.range’ are connected.

Value

Returns a list with entries for all stations of dataset. Each list entry stands for a station and contains all neighbours of that station.

Author(s)

Daniel Doktor, Maximilian Lange

Examples

  ## 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)

phenmod documentation built on April 14, 2022, 5:08 p.m.