Description Usage Arguments Value See Also
The function find_breaks()
isolates a piece of code of
the function truehist()
from package MASS
that is used to compute the set of breakpoints to be applied for the
construction of the histogram.
1 | find_breaks(x, nbins = "Scott", h, x0 = -h/1000)
|
x |
numeric. A vector. |
nbins |
integer or character. The suggested number of bins.
Either a positive integer, or a character string naming a rule:
|
h |
numeric. The bin width, a strictly positive number (takes precedence over nbins). |
x0 |
numeric. Shift for the bins -
the breaks are at |
A numeric vector.
histo()
in this package;
truehist()
from package MASS;
hist()
from package graphics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.