Displaying 2 results from an estimated 2 matches for "pair8".
Did you mean:
pairs
2004 Nov 24
3
Automatic file reading
Hi,
I want to do automatic reading of a number of tables (files) stored in
ascii format
without having to specify the variable name in R each time. Below is an
example
of how I would like to use it (I assume files pair1,...,pair8 exist in
spec. dire.)
for (i in 1:8){
name <- paste("pair",i,sep="")
? ? ? <- read.table(paste("/home/andersm/tmp/",name,sep=""))
}
after which I want to have pair1,...,pair8 as tables.
But I can not get it right. Anybody having a smart solution...
2008 Dec 15
2
how to merge list of dataframes?
...data.frame list
[5,] 3 data.frame list
[6,] 3 data.frame list
[7,] 3 data.frame list
...
> aa[1]
[[1]]
b p d
1 1 pair1 1.07293
2 1 pair2 1.74022
3 1 pair3 4.17572
4 1 pair4 1.52449
5 1 pair5 1.63937
6 1 pair6 4.36470
8 1 pair8 1.17507
10 1 pair10 0.41672
11 1 pair11 3.62334
> aa[2]
[[1]]
b p d
13 2 pair13 1.12680
14 2 pair14 1.41834
15 2 pair15 1.94462
16 2 pair16 4.97495
17 2 pair17 2.49566
18 2 pair18 6.76947
19 2 pair19 1.81448
20 2 pair20 6.25511
> aa[3]
[[1]]
b...