[R] oldClass vs. class

From: ronggui <0034058_at_fudan.edu.cn>
Date: Sat 06 Aug 2005 - 13:55:15 EST

Hi,When I read the source of str,i find these code

  ## Show further classes // Assume that they do NOT have an own Method --     ## not quite perfect ! (.Class = 'remaining classes', starting with current)     cl <- oldClass(object); cl <- cl[cl != "data.frame"] #- not THIS class

so I use ?oldClass to try to learn more about oldClass.But after I have reading all the help page ,I still have no idea the diiference between oldClass and class.

Anynone can help me ?


Deparment of Sociology
Fudan University


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Aug 06 14:00:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:44 EST