Description Usage Arguments Value Examples

Generates multivariate simulated data having n observations and p variates. The data have a standard Gaussian distribution except at
a specified number of locations where there is a change in mean in a proportion of the variates. The function is useful for generating data to demonstrate and assess
multivariate anomaly detection methods such as `capa.mv`

and `pass`

.

1 2 3 4 5 6 7 8 | ```
simulate(
n = 100,
p = 10,
mu = 1,
locations = 40,
durations = 20,
proportions = 0.1
)
``` |

`n` |
The number of observations. The default is |

`p` |
The number of variates. The default is |

`mu` |
The change in mean. Default is |

`locations` |
A vector of locations (or scalar for a single location) where the change in mean occurs. The default is |

`durations` |
A scalar or vector (the same length as |

`proportions` |
A scalar or vector (the same length as |

A matrix with n rows and p columns

1 2 |

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.