Re: [Rd] Documenting newly created generic versions of non-generic base R functions

2005-10-18 Thread Martin Maechler
> "GS" == Gavin Simpson <[EMAIL PROTECTED]> > on Mon, 10 Oct 2005 17:29:42 +0100 writes: GS> Hi, GS> Following the Writing R Extensions manual, I created a method for the GS> cor function. As cor is not a generic, I followed the advice of section GS> 6.1 of the same man

[Rd] Documenting newly created generic versions of non-generic base R functions

2005-10-10 Thread Gavin Simpson
Hi, Following the Writing R Extensions manual, I created a method for the cor function. As cor is not a generic, I followed the advice of section 6.1 of the same manual and did the following: cor <- function(x, ...) UseMethod("cor") cor.default <- stats::cor cor.symcoca <- function{ some code }