out.impute {monobinShiny}R Documentation

Outliers imputation

Description

Outliers imputation

Usage

out.impute(tbl, rf, ub, lb, sc)

Arguments

tbl

Data frame with risk factors ready for imputation.

rf

Vector of risk factors to be imputed.

ub

Upper bound percentiles.

lb

Lower bound percentiles.

sc

Numeric vector of special case values.

Value

Returns a list of three elements. The first element is a data frame with imputed values, the second element is a vector of newly created risk factors (with imputed values) and the third one is a data frame with information about possible imputation errors.

Examples

if 	(interactive()) {
	imp.res <-  suppressWarnings(
			out.impute(tbl = rv$db, 		
				    rf = input$rf.out,
				    ub = upper.pct,
				    lb = lower.pct,
				    sc = sca.check.res[[1]])
			)
	}


[Package monobinShiny version 0.1.0 Index]