Description Usage Arguments Value Examples
Title LASSO
1 2 3 |
x |
Data matrix |
method |
character string indicating how the “optimal” number of clusters: Euclidean (default), Manhattan, heirarchical euclidean or heirarchcal manhattan |
K.max |
the maximum number of clusters to consider, must be at least two. Default value is 10. |
B |
integer, number of Monte Carlo (“bootstrap”) samples. Default value is 100. |
verbose |
integer or logical, determining if “progress” output should be printed. The default prints one bit per bootstrap sample. Default value is FALSE. |
plot.num.clus |
if TRUE (default) the gap statistic plot will be printed |
scale |
if TRUE (default) the data matrix will be scaled. |
diss |
if TRUE (default as FALSE) x will be considered as a dissimilarity matrix. |
cluster.only |
if true (default as FALSE) only the clustering will be computed and returned, see details. |
y |
Dependent variable |
x |
Data matrix |
plot and table which advises how many clusters should be
plot and table which advises how many clusters should be
1 2 3 4 | # LASSO_selection(x, y)
Title Deciding on Number of Clusters
# number_of_clusters(subx, B=50, method='Euclidean')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.