Description Usage Arguments Examples
Apply classification methods related to the Diatech project.
1 2 3 | ## S3 method for class 'diaMeasure'
getClassification(measure, type = c("classic"), method,
ids, ns, nb, ...)
|
measure |
object to pass to other methods. |
type |
type of classification requried. |
method |
classification method to be used: Med, MinMwMax, MedMw. |
ids |
ids from the measure for which the classification method must be applied. |
ns |
integer vector indicating in how many groups must the classification happen. |
nb |
optional neighbourhood object returned from 'generateMaps'. |
... |
unused |
1 2 3 4 5 6 7 8 9 10 | library(diaMeasures)
data(bourciezDiaData)
set <- bourciezDiaData$lonlat
labels <- set[c('id', 'location')]
measure <- getMeasures(set, 'euclidean')
result <- getClassification(measure, 'classic', 'Med', '107', 2:4)
result2 <- getClassification(measure, 'classic', 'Med', '107', 2:4, bourciezDiaData$nb)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.