View source: R/cluster_generation_functions.R

generate_gaussian_data | R Documentation |

Generate a set of data points from Gaussian distribution

```
generate_gaussian_data(n, center = 0, sigma = 1, label = NA)
```

`n` |
number of generated data points |

`center` |
data center of desired dimension |

`sigma` |
covariance matrix |

`label` |
cluster label |

Generated data points from Gaussian distribution with given parameters

```
generate_gaussian_data(10, center=c(0,0), sigma=diag(c(1,1)), label=1)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.