Description Usage Arguments Value Examples
Generate data with a given continuous piecewise linear model
1 2 | slopeData(index, states, noise = 0, outlierDensity = 0,
outlierNoise = 50)
|
index |
a vector of increasing changepoint indices |
states |
vector of successive states |
noise |
noise level = standard deviation of an additional normal noise |
outlierDensity |
probability for a datapoint to be an outlier (has to be close to 0) |
outlierNoise |
noise level for outlier data points |
a vector of simulated data
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.