LBmizbinsFun | R Documentation |
Calculate the bin breaks for the LBmiz (log binning as done by the package
mizer), given xmin
and xmax
(min and max of data) and the number of
bins, k
. To be minimised by nlm()
to calculate beta
.
LBmizbinsFun(beta, xmin, xmax, k)
beta |
to be calculated, 0 = beta^(k-2) * (2 * beta-1) - xmax/xmin = 2 * beta^(k-1) - beta^(k-2) - xmax/xmin |
xmin |
minimum of data (lower bound of lowest bin) |
xmax |
maximum of data (upper bound of highest bin) |
k |
number of bins |
value to be minimised by nlm()
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.