Description Usage Arguments Side Effects References See Also

Plot histograms or density plots of data on a single Fisher linear discriminant.

1 2 3 4 5 |

`data` |
vector of data. Missing values ( |

`g` |
factor or vector giving groups, of the same length as |

`nbins` |
Suggested number of bins to cover the whole range of the data. |

`h` |
The bin width (takes precedence over |

`x0` |
Shift for the bins - the breaks are at |

`breaks` |
The set of breakpoints to be used. (Usually omitted, takes precedence
over |

`xlim` |
The limits for the x-axis. |

`ymax` |
The upper limit for the y-axis. |

`width` |
Bandwidth for density estimates. If missing, the Sheather-Jones selector is used for each group separately. |

`type` |
Type of plot. |

`sep` |
Whether there is a separate plot for each group, or one combined plot. |

`col` |
The colour number for the bar fill. |

`xlab` |
label for the plot x-axis. By default, this will be the name of |

`bty` |
The box type for the plot - defaults to none. |

`...` |
additional arguments to |

Histogram and/or density plots are plotted on the current device.

Venables, W. N. and Ripley, B. D. (2002)
*Modern Applied Statistics with S.* Fourth edition. Springer.

MASS documentation built on April 30, 2018, 9:03 a.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.