Description Usage Arguments Value Examples
Simulating a two-dimenstional segmentation with a given number of segments
1 2 |
mean1 |
Vector of means for the first dimension |
mean2 |
Vector of means for the second dimension |
tau |
relative position (between 0 and 1) of the changepoints (the last position is always 1) |
sigma |
A positive number: the value (unique) of the standard deviation for all the Gaussian laws in the simulation #' @param n The number of data point to simulate |
n |
The number of data point to simulate |
A matrix of data of dimension 2 x n generated by the simulated segmentation
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.