Displaying 1 result from an estimated 1 matches for "pctrcv".
Did you mean:
pctech
2005 Mar 03
2
reading row vectors from file
...inux (sid), kernel
2.6.8-2-686.
I have data in files with separate vectors on each row of the file,
e.g.,
$ cat /tmp/stats
freq,0,1,2,3,4,5,6,7,8,9,16,17,18,19,20,...
noise,49,47,48,48,50,47,48,47,46,50,48,54,49,47,49,...
signal,99,0,100,0,0,100,0,100,100,0,100,101,100,0,0,...
pctrcv,5,0,5,0,0,5,0,5,11,0,5,5,5,0,0,...
I can transpose the data file (e.g., using an awk script), and then read
it using read.csv("tstats"),
$ transpose /tmp/stats > /tmp/tstats
$ cat /tmp/tstats
freq,noise,signal,pctrcv
0,49,99,5
1,47,0,0
2,48,100,5
...
but...