Displaying 2 results from an estimated 2 matches for "tsdoc".
Did you mean:
csdoc
2010 May 14
1
S4 default/missing args
...e if this is a bug or my confusion.) In S3
I can specify a default value for an argument and then both check if the
argument was missing in the call, and use it because it takes on the
default value. I do not seem to be able to do that in S4 as shown by
this simplified example:
setGeneric("TSdoc",
def= function(x, con, ...) standardGeneric("TSdoc"))
setMethod("TSdoc", signature(x="character", con="missing"),
definition= function(x, con=getOption("TSconnection"), ...){
if(is.null(con))
stop("con...
2007 May 30
2
S4 assignment \alias and \usage
What is the Rd file alias and usage syntax for an S4 assignment method?
I have been trying variations on
\alias{TSdoc<-,default-method}
\usage{
\S4method{TSdoc}{default}(x) <- value
but so far I have not got it right according to various codoc, etc, checks.
Paul Gilbert
====================================================================================
La version fran?aise suit le texte anglais.
-...