[R] Generic Function

Arend P. van der Veen apv at capital.net
Mon Nov 3 23:28:22 CET 2003


Hi,

How to I write a generate function that is "specific to the class of the
argument itself" ?  

For example, I created a data.frame that contains results of an
analysis.  I would like to write a special plot function with the
following usage

plot(data.frame)

I have been looking through the documentation but have not found
anything to show me how to do this.  Any help would be greatly
appreciated.

Thanks in advance,

Arend van der Veen




More information about the R-help mailing list