Learn R Programming

mmirestriktor (version 0.3.1)

text_to_vector: Convert Comma-Separated String to Numeric Vector

Description

This internal function takes a string of comma-separated values and converts it into a numeric vector. It is typically used to process user inputs from the Shiny app's UI where multiple values can be entered as a single string.

Usage

text_to_vector(text_input)

Value

A numeric vector converted from the comma-separated string. If the input is an empty string, returns an empty numeric vector.

Arguments

text_input

A string containing comma-separated values, typically a user input from the Shiny app's UI.