rs_data_clusters: Generates clustered data

View source: R/extendr-wrappers.R

rs_data_clustersR Documentation

Generates clustered data

Description

[Experimental] Generates synthetic data with clear cluster structure.

Usage

rs_data_clusters(n_samples, dim, n_clusters, seed)

Arguments

n_samples

Integer. Number of data points to generate.

dim

Integer. Dimensionality of the data

n_clusters

Integer. Number of clusters to produce in the data.

seed

Integer. For reproducibility purposes

Value

A list with the following elements:

  • data - Numerical matrix with the data.

  • clusters - Cluster assignments


manifoldsR documentation built on Nov. 17, 2026, 5:09 p.m.