Re: [R] Accessing the class of an object with two elements.

2007-02-22 Thread Vincent Goulet
Le Jeudi 22 Février 2007 05:37, Shubha Vishwanath Karanth a écrit : > Hi R, > > Here's my question about accessing the class of an object. > > I have an object "dat" which can take any two of the classes, ("dates" > "times") or ("chron" "dates" "times). Note that the classes have two > elements wit

[R] Accessing the class of an object with two elements.

2007-02-22 Thread Shubha Vishwanath Karanth
Hi R, Here's my question about accessing the class of an object. I have an object "dat" which can take any two of the classes, ("dates" "times") or ("chron" "dates" "times). Note that the classes have two elements within it. I want to read these classes in such a way that v=class(dat)