qs (version 0.12)

convertToAlt: Convert character vector to alt-rep

Description

A function for generating a alt-rep object from a character vector, for users to experiment with the alt-rep system.

Usage

convertToAlt(x)

Arguments

x

The character vector

Value

The character vector in alt-rep form

Examples

Run this code
# NOT RUN {
xalt <- convertToAlt(randomStrings(N=10, string_size=20))
xalt2 <- convertToAlt(c("a", "b", "c"))
# }

Run the code above in your browser using DataCamp Workspace