Hi all,

 

Suppose I have a 4 x 2 matrix  A and I want to select the values in
second column such that the value in first column equals to k.

 

I gave the colnames as alpha beta, so I was trying to access the info
using

 

A$beta[A[,1]==k], however, I was told it's not a data frame, I can get
the object by using dollar sign.  I tried data.frame(A), but it didn't
work.  

 

Any input on this will be very appreciated.  Thanks.

 

I tried looking in the manual, but I think I'm might be wrong about the
keywords.

 

Yen Lin


	[[alternative HTML version deleted]]


