View source: R/data.combine.clusters.search.R
data.combine.clusters.search | R Documentation |
Searches clusters in a station net.
data.combine.clusters.search(stations, stations.net, shuffle=TRUE)
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). |
Searches related stations in a station net. If value of ‘shuffle’ is TRUE, each run of this method produces different results.
Returns a list containing related stations.
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) ## search clusters in station net stations <- as.list(unique(extractedObs$STAT_ID)) clusters <- data.combine.clusters.search(stations, stations.net, shuffle=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.