0
My dataset is like this:
x y z
A 1.1 1.2 1.3
B 2.1 2.2 2.3
Using R, I want to group the 3 columns into one, separated by a comma.
I want you to stay like this:
x
A 1.1, 1.2, 1.3
B 2.1, 2.2, 2.3
Dice
dados <-
structure(list(x = c(1.1, 2.1), y = c(1.2, 2.2), z = c(1.3, 2.3
)), class = "data.frame", row.names = c("A", "B"))