The R Project SVN R

Rev

Rev 44506 | Rev 56184 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 44506 Rev 46128
Line 73... Line 73...
73
}
73
}
74
\value{
74
\value{
75
  The value returned by the selected method.
75
  The value returned by the selected method.
76
}
76
}
77
\references{
77
\references{
78
  The R package \pkg{methods} implements, with a few exceptions, the
-
 
79
  programming interface for classes
78
 Chambers, John M. (2008)
80
  and methods in the book \emph{Programming with Data} (John
79
 \emph{Software for Data Analysis: Programming with R}
81
  M. Chambers, Springer, 1998), in particular sections 1.6, 2.7, 2.8,
-
 
82
  and chapters 7 and 8.
80
  Springer.  (For the R version.)
83
 
81
 
84
  While the programming interface for the \pkg{methods} package follows
-
 
85
  the reference, the R software is an original implementation, so
-
 
86
  details in the reference that reflect the S4 implementation may appear
-
 
87
  differently in R.  Also, there are extensions to the programming
-
 
88
  interface developed more recently than the reference.  For a
82
 Chambers, John M. (1998)
89
  discussion of details see \code{?\link{Methods}}
83
 \emph{Programming with Data}
90
  and the links from that documentation.
84
 Springer (For the original S4 version.) 
91
}
85
}
-
 
86
\seealso{\code{\link{callGeneric}} to call the generic function with the current
92
\seealso{\link{Methods} for the general behavior of method dispatch}
87
  dispatch rules (typically for a group generic function); \link{Methods} for the general behavior of method dispatch}
93
 
88
 
94
\examples{
89
\examples{
95
 
90
 
96
## some class definitions with simple inheritance
91
## some class definitions with simple inheritance
97
setClass("B0" , representation(b0 = "numeric"))
92
setClass("B0" , representation(b0 = "numeric"))