sure confusing for the reader
> of help page.
>
> Gregor
>
>
> -Original Message-
> From: Gabor Grothendieck [mailto:[EMAIL PROTECTED]
> Sent: Mon 2006-08-07 14:07
> To: Gorjanc Gregor
> Cc: Martin Maechler; r-devel@stat.math.ethz.ch
> Subject: Re: [Rd] Documenta
] Documentation for S3 generics
Exporting a method allows the user to access the method directly
as opposed to calling the generic.
For example, try:
methods(plot)
The methods listed with stars are not exported although they are
still available through the generic. For example:
plot(ts(1:10
Exporting a method allows the user to access the method directly
as opposed to calling the generic.
For example, try:
methods(plot)
The methods listed with stars are not exported although they are
still available through the generic. For example:
plot(ts(1:10))
plot.ts(ts(1:10))
both
From: Martin Maechler [mailto:[EMAIL PROTECTED]
> "Gorjanc" == Gorjanc Gregor <[EMAIL PROTECTED]>
> on Mon, 7 Aug 2006 11:59:31 +0200 writes:
Gorjanc> Hello!
Gorjanc> Say I have
Gorjanc> myMethod <- function(x, ...)
Gorjanc> UseMethod("myMethod")
Gorjanc> myMetho
> "Gorjanc" == Gorjanc Gregor <[EMAIL PROTECTED]>
> on Mon, 7 Aug 2006 11:59:31 +0200 writes:
Gorjanc> Hello!
Gorjanc> Say I have
Gorjanc> myMethod <- function(x, ...)
Gorjanc> UseMethod("myMethod")
Gorjanc> myMethod.classA <- function(x, ...)
Gorjanc> ...
Hello!
Say I have
myMethod <- function(x, ...)
UseMethod("myMethod")
myMethod.classA <- function(x, ...)
...
myMethod.classB <- function(x, ...)
...
myMethod.classC <- function(x, arg2, ...)
...
and I would like to properly document these as generics. Then I have to
use in usage section
\