bipiped_value_to_vector {preregr}R Documentation

Convert a "bipiped" value (or vector of values) to a vector

Description

"Bipiped" means that different values are separated by a pair of pipes (||), like the logical OR operator in R. Use bipiped_value_to_vector() for single values, and bipiped_values_to_vector() for a vector of values, in which case a list is returned.

Usage

bipiped_value_to_vector(x)

bipiped_values_to_vector(x)

Arguments

x

The value or vector of values.

Value

A vector or list of vectors.

Examples

exampleValue <-
  paste0('"Purposefully select" || "Aselect" || ',
         '"Likely self-selected" || "Ameliorated self-selection"');
bipiped_value_to_vector(exampleValue);

[Package preregr version 0.2.9 Index]