Description Usage Arguments Value Examples

Estimate the number of clusters according to the BIC. Basic k-means based
Multiple Latent Components Clustering (MLCC) algorithm (`mlcc.kmeans`

) is run a
given number of times (*numb.runs*) for each number of clusters in *numb.clusters*.
The best partition is choosen with BIC (see `mlcc.reps function`

)

1 2 3 |

`X` |
a data frame or a matrix with only continuous variables |

`numb.clusters` |
a vector, numbers of clusters to be checked |

`numb.runs` |
an integer, number of runs of |

`stop.criterion` |
an integer, if an iteration of |

`max.iter` |
an integer, maximum number of iterations of |

`max.dim` |
an integer, if estimate.dimensions is FALSE then max.dim is dimension of each subspace. If estimate.dimensions is TRUE then subspaces dimensions are estimated from the range [1, max.dim] |

`scale` |
a boolean, if TRUE (value set by default) then variables in dataset are scaled to zero mean and unit variance |

`numb.cores` |
an integer, number of cores to be used, by default all cores are used |

`greedy` |
a boolean, if TRUE (value set by default) the clusters are estimated in a greedy way |

`estimate.dimensions` |
a boolean, if TRUE (value set by default) subspaces dimensions are estimated |

`verbose` |
a boolean, if TRUE plot with BIC values for different numbers of clusters is produced and values of BIC, computed for every number of clusters and subspaces dimensions, are printed (value set by default is FALSE) |

An object of class mlcc.fit consisting of

`segmentation` |
a vector containing the partition of the variables |

`BIC` |
numeric, value of |

`subspacesDimensions` |
a list containing dimensions of the subspaces |

`nClusters` |
an integer, estimated number of clusters |

`factors` |
a list of matrices, basis for each subspace |

`all.fit` |
a list of segmentation, BIC, subspaces dimension for all numbers of clusters considered for an estimated subspace dimensions |

`all.fit.dims` |
a list of lists of segmentation, BIC, subspaces dimension for all numbers of clusters and subspaces dimensions considered |

1 2 | ```
sim.data <- data.simulation(n = 100, SNR = 1, K = 5, numb.vars = 30, max.dim = 2)
mlcc.bic(sim.data$X, numb.clusters = 1:10, numb.runs = 20, verbose=TRUE)
``` |

psobczyk/public_varclust documentation built on May 24, 2017, 12:20 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.