sc.check {monobinShiny}R Documentation

Special cases - check input values

Description

Special cases - check input values

Usage

sc.check(x)

Arguments

x

Numeric vector of special case values.

Value

Returns a list of three vectors: special case input(s) converted to numeric type, number of special case input(s) that cannot be converted to numeric type (including NA, NaN and Inf) and special case input(s) that cannot be converted to numeric type.

Examples

if 	(interactive()) {
	sca.check.res <- sc.check(x = input$sc.all)
	scr.check.res <- sc.check(x = input$sc.replace)
	}
sc.check(x = "NA, NaN, Inf")
sc.check(x = "NA, abc")
sc.check(x = "NaN, abc")
sc.check(x = "Inf, abc")
sc.check(x = "9999999999, abc")
sc.check(x = "NA, NaN, Inf, 9999999999")

[Package monobinShiny version 0.1.0 Index]