From osklyar at maninvestments.com  Fri Mar 13 15:04:19 2009
From: osklyar at maninvestments.com (Sklyar, Oleg (London))
Date: Fri, 13 Mar 2009 14:04:19 -0000
Subject: [Rd] Rd \usage clause for an S4 replace method
Message-ID: <1A68FCB28DE72F4BA3B967E6506CCE43047DF73D@mildnpexmb01.maninvestments.ad.man.com>

Given S4 methods [ and [<-, how do I write the Rd-file usage clause for
the latter one?
What I have now is:

\S4method{[}{TimeSeries,TimeDate,missing}(x, i, j, ..., drop)
\S4method{[<-}{TimeSeries,TimeDate,missing,ANY}(x, i, j, ..., value)

which results in the following output:

    ## S4 method for signature 'TimeSeries, TimeDate, missing':
    x[i, j, ..., drop]
    \S4method{[<-}{TimeSeries,TimeDate,missing,ANY}(x, i, j, ..., value)

How should I document the latter? Thanks.


Dr Oleg Sklyar
Research Technologist
AHL / Man Investments Ltd
+44 (0)20 7144 3107
osklyar at maninvestments.com

**********************************************************************
Please consider the environment before printing this email or its attachments.
The contents of this email are for the named addressees ...{{dropped:19}}



[Rd] Rd \usage clause for an S4 replace method
Sklyar, Oleg (London