monobin.run {monobinShiny}R Documentation

Run monobin algorithm for the selected inputs

Description

Run monobin algorithm for the selected inputs

Usage

monobin.run(algo, target.n, rf, sc, args.e, db)

Arguments

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.

Value

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.

Examples

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))
		  )})

	}


[Package monobinShiny version 0.1.0 Index]