Skip to contents

[Stable]

This function takes a comma-separated string and parses it into a numeric vector. It checks if all values in the string are numeric and returns the parsed vector. If any value is not numeric, it throws an error.

Usage

ParseThreshold(strThreshold)

Arguments

strThreshold

A comma-separated string of numeric values.

Value

A numeric vector containing the parsed values.

Examples

ParseThreshold("1,2,3,4")
#>  Parsed 1,2,3,4 to numeric vector: 1, 2, 3, and 4
#> [1] 1 2 3 4