An object of class "Clusters"
.
Generates n
2D points with k
(\(k \ge 2\)) clusters with centers d unit away from origin and angles
between the rays joining successive centers and origin is \(2 \pi/k\) where about \(n/k\) points belongs to each cluster.
If distribution="uniform"
, the points are uniformly generated in their square
supports with unit edge lengths and centers at \((d \cos(j 2 \pi/k),d \cos(j 2\pi/k))\) for \(j=1,2,\ldots,k\).
If distribution="bvnormal"
, the points are generated from the bivariate normal distribution with means equal to the
centers of the above squares (i.e., for each cluster with mean=
\((d \cos(j 2 \pi/k),d \cos(j 2\pi/k))\)
for \(j=1,2,\ldots,k\) and the covariance matrix \(sd I_2\), where \(sd=d\sqrt{2 (1-cos(2 \pi/k))}/3\)
and \(I_2\) is the \(2 \times 2\) identity matrix.
Notice that the clusters are more separated, i.e., generated data indicates more clear clusters as \(d\) increases
in either direction with \(d=0\) indicating one cluster in the data. For a fixed \(d\), when distribution="bvnormal"
,
the clustering gets stronger if the variance of each component, \(sd^2\), gets smaller, and clustering gets weaker
as the variance of each component gets larger where default is \(sd=d\sqrt{2 (1-cos(2 \pi/k))}/3\).