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

View source: R/bipiped_value_to_vector.R

bipiped_value_to_vectorR 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);

preregr documentation built on May 31, 2023, 7:10 p.m.