Re: [R] Howto access object of object
Hello, Use "@" instead of "$" to extract slots from a S4 object. Regards, Carlos J. Gil Bellosta http://www.datanalytics.com On Wed, 2009-01-14 at 17:07 +0900, Gundala Viswanath wrote: > Dear all, > > I have the following object: > > > print(x) > An object of class "matrix.csr" > Slot "ra":
[R] Howto access object of object
Dear all, I have the following object: > print(x) An object of class "matrix.csr" Slot "ra": [1] 0.992056718 1.0 1.0 1.0 1.0 1.0 [7] 1.0 1.0 1.0 1.0 1.0 1.0 [13] 1.0 1.0 1.0 1.000