Description Usage Arguments Value Examples
Run monobin algorithm for the selected inputs
1 | monobin.run(algo, target.n, rf, sc, args.e, db)
|
algo |
Binning algorithm from monobin package. |
target.n |
Selected target. |
rf |
Vector of a selected numeric risk factors. |
sc |
Numeric vector of special case values. |
args.e |
Argument elements of the selected monobin function. |
db |
Data frame of target and numeric risk factors. |
Returns a list of two data frame. The first data frame contains the results of implemented binning algorithm, while the second one contains transformed risk factors.
1 2 3 4 5 6 7 8 9 10 11 12 13 | if (interactive()) {
tbls <- withProgress(message = "Running the binning algorithm",
value = 0, {
suppressWarnings(
monobin.run(algo = bin.algo,
target.n = isolate(input$trg.select),
rf = isolate(input$rf.select),
sc = scr.check.res[[1]],
args.e = args.e,
db = isolate(rv$db))
)})
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.