HI,
Not clear what you are trying to do:
set.seed(25)
df1<-as.data.frame(matrix(sample(1:40,20,replace=TRUE),ncol=4))
set.seed(15)
df2<-as.data.frame(matrix(sample(1:40,20,replace=TRUE),ncol=4))
do.call(rbind,lapply(list(df1,df2),`[`,c(2,4)))
# V2 V4
#1 40 6
#2 26 22
#3 14 30
#4 3 20
#
On Jan 19, 2013, at 8:08 AM, qt2ho...@gmail.com wrote:
> Hey everyone,
>
> I just can’t wrap my head around this problem: I got 2 Columns with 4 columns.
OK, this is simply incoherent.
> They basically look like this:
> 1 2 3 4
> … … … …
>
> I want to merge the two CSVs into a two-column lis
2 matches
Mail list logo