Laura Holt wrote:
> Hi R people:
>
> I have created a new class for a project that I am working on. It works
> fine.
>
> Just one question, please: When I access the slots, is there any way
> that I could use
> x$Name instead on x at Name, please? Or is it that way by design, please?
This is by design, x is not a list but of class ....
Insetad, you can use slot(), of course or define special exttractor
functions fo your particular class.
Uwe Ligges
> Thanks.
>
> Laura Holt
>
> ______________________________________________
> R-help at 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