if(require("e1071", quietly = TRUE)) {
## Use an on-line version of fuzzy c-means from package e1071 if
## available.
data("Cassini")
pens <- cl_boot(Cassini$x, B = 15, k = 3, algorithm = "cmeans",
parameters = list(method = "ufcl"))
pens
summary(cl_fuzziness(pens, "PC"))
summary(cl_fuzziness(pens, "PE"))
}
Run the code above in your browser using DataLab