| get_f_k | R Documentation |
Get the f(K) vector.
get_f_k(obj)
obj |
the output of |
the vector of f(K) function.
Daniel Rodriguez
num_clusters, num_clusters_all
# Create a data set with two clusters
dat <- matrix(c(rnorm(100, 2, .1), rnorm(100, 3, .1),
rnorm(100, -2, .1), rnorm(100, -3, .1)), 200, 2)
# Get the f(k) vector
sol <- kselection(dat)
f_k <- get_f_k(sol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.