| Line 11... |
Line 11... |
| 11 |
valueClass = NULL, sealed = FALSE)
|
11 |
valueClass = NULL, sealed = FALSE)
|
| 12 |
|
12 |
|
| 13 |
removeMethod(f, signature, where)
|
13 |
removeMethod(f, signature, where)
|
| 14 |
}
|
14 |
}
|
| 15 |
\arguments{
|
15 |
\arguments{
|
| 16 |
\item{f}{ The character-string name of the generic function. }
|
16 |
\item{f}{ A generic function or the character-string name of the function. }
|
| 17 |
\item{signature}{ A match of formal argument names for \code{f} with
|
17 |
\item{signature}{ A match of formal argument names for \code{f} with
|
| 18 |
the character-string names of corresponding classes. This
|
18 |
the character-string names of corresponding classes. This
|
| 19 |
argument can also just be the vector of class names, in which case
|
19 |
argument can also just be the vector of class names, in which case
|
| 20 |
the first name corresponds to the first formal argument, the
|
20 |
the first name corresponds to the first formal argument, the
|
| 21 |
next to the second formal argument, etc.}
|
21 |
next to the second formal argument, etc.}
|
| Line 123... |
Line 123... |
| 123 |
While the programming interface for the \pkg{methods} package follows
|
123 |
While the programming interface for the \pkg{methods} package follows
|
| 124 |
the reference, the R software is an original implementation, so
|
124 |
the reference, the R software is an original implementation, so
|
| 125 |
details in the reference that reflect the S4 implementation may appear
|
125 |
details in the reference that reflect the S4 implementation may appear
|
| 126 |
differently in R. Also, there are extensions to the programming
|
126 |
differently in R. Also, there are extensions to the programming
|
| 127 |
interface developed more recently than the reference. For a
|
127 |
interface developed more recently than the reference. For a
|
| 128 |
discussion of details and ongoing development, see the web page
|
128 |
discussion of details and ongoing development, see \code{?\link{Methods}} and the
|
| 129 |
\url{http://developer.r-project.org/methodsPackage.html} and the
|
- |
|
| 130 |
pointers from that page.
|
129 |
pointers from that documentation..
|
| 131 |
}
|
130 |
}
|
| 132 |
\examples{
|
131 |
\examples{
|
| 133 |
\dontshow{ require(stats)
|
132 |
\dontshow{ require(stats)
|
| 134 |
setClass("track",
|
133 |
setClass("track",
|
| 135 |
representation(x="numeric", y = "numeric"))
|
134 |
representation(x="numeric", y = "numeric"))
|