encode.character: Encode Character.

View source: R/encode.R

encode.characterR Documentation

Encode Character.

Description

Encodes character. If sep is NULL, it is replaced with the first of these that is not otherwise present in the result: /|:~!@#$

Usage

## S3 method for class 'character'
encode(x, labels = NULL, sep = NULL, ...)

Arguments

x

object

labels

same length as x if supplied

sep

a single character not present in x or labels

...

passed arguments

Value

character

See Also

Other encode: encode(), encode.default(), encode.list()


encode documentation built on Feb. 18, 2026, 9:06 a.m.