Generate Clusters with Different Shapes and Different Number of Points
Source:R/clustering.R
clust_diff_shapes_pts.Rd
This function generates clusters with different shapes, including both Gaussian and non-Gaussian clusters, with different numbers of points in each cluster.
Usage
clust_diff_shapes_pts(
clust_size_vec,
num_gau_clust,
num_non_gau_clust,
clust_sd_gau,
clust_sd_non_gau,
num_dims,
a,
b
)
Arguments
- clust_size_vec
A vector specifying the number of points for each cluster.
- num_gau_clust
The number of Gaussian clusters to generate.
- num_non_gau_clust
The number of non-Gaussian clusters to generate.
- clust_sd_gau
The standard deviation for the Gaussian clusters.
- clust_sd_non_gau
The standard deviation for the non-Gaussian clusters.
- num_dims
The number of dimensions for the data points.
- a
The scaling factor for the non-Gaussian cluster shape.
- b
The translation factor for the non-Gaussian cluster shape.