data.combine.stationNet: Station net creator

Description Usage Arguments Details Value Author(s) Examples

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

Description

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

Usage

1
2
3
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

1
2
3
4
5
6
7
  ## 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 May 19, 2017, 8:48 a.m.
Search within the phenmod package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.