Skip to contents

Used to parse text inputs into a list of vectors.

Usage

.string_to_list_of_vectors(x)

Arguments

x

A string indicating a set of vectors, e.g. "a, b, c, d, e". Should not contain internal quotes around elements.

Value

A list like list(c("a", "b", "c"), c("d", "e")). If the input is "", just returns "". If the input is NULL, returns NULL.

Author

Jared Andrews