data.combine.clusters.search {phenmod} | R Documentation |
Cluster search
Description
Searches clusters in a station net.
Usage
data.combine.clusters.search(stations, stations.net,
shuffle=TRUE)
Arguments
stations |
A list of all stations. |
stations.net |
A list of neighbourstations (neighbours of the station at same list position in list ‘stations’). |
shuffle |
A boolean value determining wether the stations should be processed in their order (value: FALSE) or if they should be shuffled befor processing (value: TRUE). |
Details
Searches related stations in a station net. If value of ‘shuffle’ is TRUE, each run of this method produces different results.
Value
Returns a list containing related stations.
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)
## search clusters in station net
stations <- as.list(unique(extractedObs$STAT_ID))
clusters <- data.combine.clusters.search(stations,
stations.net, shuffle=TRUE)
[Package phenmod version 1.2-7 Index]