text_to_vector {mmirestriktor}R Documentation

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)

Arguments

text_input

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

Value

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


[Package mmirestriktor version 0.2.1 Index]