[R] list objects calculation

jiangxijixzy jiangxijixzy at 163.com
Wed May 2 08:15:51 CEST 2012


I have two kinds of list,
for example,  one is like
t[[1]]=
1 6
2 7
3 8
4 9
5 10
...
t[[731]]
the other is
k[[1]]= 9 10
...
k[[731]]
I want to have a new list,like x
x[[1]]=
(1-9)/9    (6-10)/10
(2-9)/9    (7-10)/10
(3-9)/9    (8-10)/10
(4-9)/9    (9-10)/10
(5-9)/9    (10-10)/10 
...
x[[731]]
How should I do?
Thank you.

--
View this message in context: http://r.789695.n4.nabble.com/list-objects-calculation-tp4602437.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list