Description Usage Arguments Value Examples
Simulates a samples of normally distributed data, each "contaminated" with outliers from a different normal distribution according to a user-specified probability. Similar to rnorm.out, except that the order of arguments is different and the output is formatted as a vector.
| 1 2 | 
| n | The number of independent observations per sample | 
| mean | The expectation of the target distribution. | 
| sd | The standard deviation of the target distribution. | 
| contam.p | The probability that each observation is from the non-target distribution. | 
| contam.mean | The expectation of the non-target / "contamination" / outlier distribution. | 
| contam.sd | The standard deviation of the outlier distribution. | 
A vector of independent random numbers n entries.
| 1 | rnorm.mix(20, 0, 1, .2, 10, 1)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.