I'd like to define a class with a chron slot, but: R> require(chron) R> setClass("myclass", representation(datetime = "chron")) [1] "myclass" Warning message: undefined slot classes in definition of "myclass": datetime(class "chron") in: .completeClassSlots(ClassDef, where)
How should such a class be defined? Sebastian -- Sebastian P. Luque ______________________________________________ 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