View source: R/data.combine.stationNet.R
data.combine.stationNet | R Documentation |
Creates a net of the stations of dataset by checking the distances between the stations.
data.combine.stationNet(dataset, range, alt.range, silent=FALSE, out2File=FALSE)
dataset |
A dataset created by |
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. |
Only stations with a maximal distance of 'range' and maximal altitude difference of ‘alt.range’ are connected.
Returns a list with entries for all stations of dataset. Each list entry stands for a station and contains all neighbours of that station.
Daniel Doktor, Maximilian Lange
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.