Skip to content

Reading multiple text files and then combining into a dataframe

2 messages · James Holland, jim holtman

#
Does this do it for you:
+ cbind(sub,trial,size,shortest,startlab,endlab,startconf,endconf,steps,time)
+ cbind(sub,trial,size,shortest,startlab,endlab,startconf,endconf,steps,time)
'data.frame':   20 obs. of  11 variables:
 $ row.names: chr  "1" "2" "3" "4" ...
 $ sub      : int  1 1 1 1 1 1 1 1 1 1 ...
 $ trial    : int  1 2 3 4 5 6 7 8 9 10 ...
 $ size     : int  3 3 3 3 3 3 3 3 3 3 ...
 $ shortest : int  444 444 444 444 444 444 444 444 444 444 ...
 $ startlab : int  444 444 444 444 444 444 444 444 444 444 ...
 $ endlab   : int  444 444 444 444 444 444 444 444 444 444 ...
 $ startconf: int  444 444 444 444 444 444 444 444 444 444 ...
 $ endconf  : int  444 444 444 444 444 444 444 444 444 444 ...
 $ steps    : int  10 28 20 18 4 21 5 3 8 7 ...
 $ time     : int  225 188 205 189 103 227 148 221 275 14 ...
'data.frame':   20 obs. of  11 variables:
 $ row.names: chr  "1" "2" "3" "4" ...
 $ sub      : int  1 1 1 1 1 1 1 1 1 1 ...
 $ trial    : int  1 2 3 4 5 6 7 8 9 10 ...
 $ size     : int  3 3 3 3 3 3 3 3 3 3 ...
 $ shortest : int  444 444 444 444 444 444 444 444 444 444 ...
 $ startlab : int  444 444 444 444 444 444 444 444 444 444 ...
 $ endlab   : int  444 444 444 444 444 444 444 444 444 444 ...
 $ startconf: int  444 444 444 444 444 444 444 444 444 444 ...
 $ endconf  : int  444 444 444 444 444 444 444 444 444 444 ...
 $ steps    : int  10 28 20 18 4 21 5 3 8 7 ...
 $ time     : int  225 188 205 189 103 227 148 221 275 14 ...

        
On Fri, Dec 2, 2011 at 11:51 PM, James Holland <holland.aggie at gmail.com> wrote: