Learn R Programming

vvshiny (version 0.1.1)

keep_values: Keep values

Description

This function extracts values before the semicolon from a ";"-separated string.

Usage

keep_values(input)

Value

A list of values before the semicolon in the input

Arguments

input

A character vector with ";"-separated strings

Examples

Run this code
input = c("A;var1", "B;var1", "C;var1")
values = keep_values(input)

Run the code above in your browser using DataLab