Description Usage Arguments Details Value Author(s)

Function `dplot.cavgb2`

produces a plot in which the compound and kernel (Epanechnikov) densities are plotted by group.

1 2 3 |

`group` |
numeric; a factor variable giving the group membership of each sampled unit. |

`x` |
numeric; can be a vector. The value(s) at which the density is calculated, used for the kernel estimate only. |

`shape1, scale, shape2, shape3` |
numeric; positive parameters of the GB2 distribution. On the plot they are denotes as |

`pl0` |
numeric; a vector of initial proportions defining the number of components and the weight of each component density in the decomposition. Sums to one. |

`pl` |
numeric; a vector of fitted proportions (output of |

`w` |
numeric; weights. |

`xmax` |
numeric; scale on the horizontal axis. By default is equal to |

`ymax` |
numeric; scale on the vertical axis. By default is equal to 2e-05. |

`decomp` |
string; specifying if the decomposition of the GB2 is done with respect to the right tail ("r") or the left tail ("l") of the distribution. By default, |

`choicecol` |
numeric vector of length the number of groups; defines the color with which the density curves will be plotted for each group. |

`xlab` |
string; label for |

The legend is placed interactively.

`dplot.cavgb2`

plots a graph with two curves - the GB2 density, the compound GB2 per group and the corresponding kernel estimate.

Monique Graf and Desislava Nedyalkova

GB2 documentation built on May 29, 2017, 6:46 p.m.

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.