View source: R/generateGaussianDataset.R
generateGaussianDataset | R Documentation |
Generate a dataset based upon a mixture of Gaussian distributions (with independent features).
generateGaussianDataset(
cluster_means,
std_dev,
n,
p,
pi,
row_names = paste0("Person_", 1:n),
col_names = paste0("Gene_", 1:p)
)
cluster_means |
A k-vector of cluster means defining the k clusters. |
n |
The number of samples to generate in the entire dataset. |
p |
The number of columns to generate in the dataset. |
pi |
A k-vector of the expected proportion of points to be drawn from each distribution. |
row_names |
The row names of the generated dataset. |
col_names |
The column names of the generated dataset. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.