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 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.