View source: R/data.combine.clusters.R
data.combine.clusters | R Documentation |
Creates a list of station clusters.
data.combine.clusters(dataset, stations.net, shuffle=TRUE, tries=100, silent=FALSE, out2File=FALSE)
dataset |
The dataset with the stations to cluster and their coordinates. |
stations.net |
A list containing the information which stations are neighbours.
Created by function |
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). Shuffled stations produce different results each run. |
tries |
If value of ‘shuffle’ is true, the integer value ‘tries’ determines how much cluster-lists should be created. The cluster-list with the lowest number of entries will be returned (this will increase the size of the clusters). |
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. |
Creates a list of station clusters by randomly creating clusters (if value of ‘shuffle’ is TRUE) and chosing the list with the lowest number of clusters.
Returns a list of station clusters (a station cluster is a vector containing related stations).
Daniel Doktor, Maximilian Lange
data.combine.clusters.search
,data.combine.stationNet
## 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 clusters <- data.combine.clusters(extractedObs, stations.net, shuffle=TRUE, tries=3, silent=FALSE, out2File=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.