Learn R Programming

molic (version 2.0.3)

to_chars: Convert discrete values into a single character representation

Description

Convert all values in a data frame or matrix of characters to a single character representation

Usage

to_chars(x)

Arguments

x

Data frame or matrix of characters

Examples

Run this code
# NOT RUN {
d <- data.frame(x = c("11", "2"), y = c("2", "11"))
to_chars(d)
# }

Run the code above in your browser using DataLab