Description Usage Arguments Details Value Examples
View source: R/createCluster.R
The function estimates the mean and variance of the k groups of the underlying input data y.
1 | createCluster(y, k, method = c("quantile", "binbased"))
|
y |
a (nx2) matrix (nx2) First column: number of bin, Second column: number of observation per bin |
k |
a numeric value - number of components (fitted distributions) |
method |
the method to be used for finding the k groups of data. For more information see Details |
For the input parameter method are two options available, namely binbased and quantiles. binbased: the group calculation is based on bins. As a result of that each group has the same number of bins quantiles: the group calculation is based on the observed values per bin. As a result of that each group has the same number of observations.
kx2 matrix with mean and variance per component
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.