Description Usage Arguments Details Value Author(s) Examples

Density and random generation of a mixture of normal distributions

1 2 3 |

`n` |
number of observations |

`mu` |
vector of means |

`sigma` |
vector of standard deviations |

`delta` |
vector |

`x` |
vector of quantiles |

If a scalar is specified for any of the parameters, it will be replicated to meet the length of the other parameters. If the `delta`

values do not sum to 1, they will be normalized with a warning.

`dmix`

gives the density and `rnorm`

generates random deviates

Ryan Hafen

1 2 3 4 5 6 7 8 9 |

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.