Description Usage Arguments Details Value Author(s) References See Also Examples

Generate a random sample from a contaminated normal distribution.

1 | ```
rcn(n, eps, sigmac)
``` |

`n` |
sample size |

`eps` |
proportion of proportion of contamination |

`sigmac` |
standard devation of contaiminated component |

With probability (1-eps) a deviates are drawn from a standard normal distribution. With probability eps deviates are drawn from a normal distribution with mean 0 and standard devation sigmac

n x 1 numeric vector containing the random deviates.

John Kloke kloke@biostat.wisc.edu, Joseph McKean

Hogg, R. McKean, J, Craig, A (2013) *Introduction to Mathematical Statistics, 7th Ed.* Boston: Pearson.

1 |

```
Loading required package: Rfit
```

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.