Re: [R] List of Variables in Original Order

2012-09-28 Thread rkulp
Var9 > #6 -0.46413 0.79287 0.05191 > #7Var10Var11 Var12 > #8 -0.06940 -0.53251 0.06766 > > A.K. > > > - Original Message - > From: rkulp <[hidden email] > > > To: [hidden email] > Cc: > Sent: Thursday, September 27, 2012 6:26

[R] List of Variables in Original Order

2012-09-27 Thread rkulp
I am trying to Sweave the output of calculating correlations between one variable and several others. I wanted to print a table where the odd-numbered rows contain the variable names and the even-numbered rows contain the correlations. So if VarA is correlated with all the variables in mydata.df, t