Displaying 1 result from an estimated 1 matches for "k1cd".
Did you mean:
11cd
2011 Apr 04
4
merging data list in to single data frame
Dear R community members
I did find a good way to merge my 200 text data files in to a single data
file with one column added will show indicator for that file.
filelist = list.files(pattern = "K*cd.txt") # the file names are K1cd.txt
.................to K200cd.txt
data_list <-lapply(filelist, read.table, header=T, comment=";", fill=T)
This will create list, but this is not what I want.
I want a single dataframe (all separate dataframes have same variable
headings) with additional row for example...