search for: ddpuqyh5pkdjl7gdcjata1qek2j

Displaying 1 result from an estimated 1 matches for "ddpuqyh5pkdjl7gdcjata1qek2j".

2023 Apr 04
1
Simple Stacking of Two Columns
I may be missing something but using the plain old c() combine function seems to work fine: df <- data.frame(left = 1:5, right = 6:10) df.combined <- data.frame(comb = c(df$left, df$right)) df left right 1 1 6 2 2 7 3 3 8 4 4 9 5 5 10 df.combined comb 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 -----Original