text_to_vector {mmints}R Documentation

Convert Text Input to Vector

Description

The goal of this function is to take text input and convert it to an R vector.

Usage

text_to_vector(text_input)

Arguments

text_input

A string input to be converted to a vector.

Value

A vector parsed from the input string.

Examples


text_to_vector("1,2,3,4,5")

text_to_vector("1:5")

text_to_vector("rep(1:5, times = 2)")

text_to_vector("seq(1,10,2)")


[Package mmints version 0.1.0 Index]