Split input of comma-separated string into vector of numeric, logical or character values.

commaList2vector(commastring = NULL, type = "numeric")

Arguments

commastring

Input [character] vector containing numbers separated by commas.

type

Name [string] of the type of input variables; one of numeric, logical or character

Value

Numeric vector of values extracted from commastring.