Description Usage Arguments Examples
Computes breaks for approximate Big data scores. Written by John Kloke for the package bigRfit.
1 | get_breakshbr(ehat, B, eps = (.Machine$double.eps)^0.5)
|
ehat |
|
B |
|
eps |
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (ehat, B, eps = (.Machine$double.eps)^0.5)
{
breaks <- quantile(ehat, seq(0, 1, length = B))
ind <- c(1, length(breaks))
breaks[ind] <- breaks[ind] + eps * sd(breaks) * c(-1, 1)
unique(breaks)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.