convertToAlt {qs}R Documentation

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. This function is not available in R versions earlier than 3.5.0.

Usage

convertToAlt(x)

Arguments

x

The character vector

Value

The character vector in alt-rep form

Examples

xalt <- convertToAlt(randomStrings(N=10, string_size=20))
xalt2 <- convertToAlt(c("a", "b", "c"))

[Package qs version 0.23.5 Index]