--- jim holtman [EMAIL PROTECTED] wrote:
Glad I could help. You might want to post it back
to R-Help so that
others can see what was done.
On Sun, Mar 16, 2008 at 6:02 PM, Felipe Carrillo
[EMAIL PROTECTED] wrote:
Jim: I owe you man, this is great,I never thought
that
I could
Hi:
Can anyone advice me on how to loop and perform a
calculation through all the columns.
here's my data
xd-
c(2.2024,2.4216,1.4672,1.4817,1.4957,1.4431,1.5676)
pd-
c(0.017046,0.018504,0.012157,0.012253,0.012348,0.011997,0.012825)
td- c(160524,163565,143973,111956,89677,95269,81558)
Is this what you were looking for:
xd-
+ c(2.2024,2.4216,1.4672,1.4817,1.4957,1.4431,1.5676)
pd-
+ c(0.017046,0.018504,0.012157,0.012253,0.012348,0.011997,0.012825)
td- c(160524,163565,143973,111956,89677,95269,81558)
mydf-data.frame(xd,pd,td)
trans-t(mydf)
trans
[,1]
3 matches
Mail list logo