The R Project SVN R

Rev

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

Rev 19087 Rev 23531
Line 18... Line 18...
18
"ts"
18
"ts"
19
 
19
 
20
"structure" ## VIRTUAL
20
"structure" ## VIRTUAL
21
}
21
}
22
\section{Objects from the Classes}{
22
\section{Objects from the Classes}{
23
Objects can be created by calls of the form \code{new(Class, ...)},
23
  Objects can be created by calls of the form \code{new(Class, ...)},
24
where \code{Class} is the quoted name of the specific class (e.g.,
24
  where \code{Class} is the quoted name of the specific class (e.g.,
25
\code{"matrix"}), and the other arguments, if any, are interpreted as
25
  \code{"matrix"}), and the other arguments, if any, are interpreted as
26
arguments to the corresponding function, e.g., to function
26
  arguments to the corresponding function, e.g., to function
27
\code{matrix()}.  There is no particular advantage over calling those
27
  \code{matrix()}.  There is no particular advantage over calling those
28
functions directly, unless you are writing software designed to work for
28
  functions directly, unless you are writing software designed to work
29
multiple classes, perhaps with the class name and the arguments passed in.
29
  for multiple classes, perhaps with the class name and the arguments
30
 
30
  passed in.
31
}
31
}
32
 
-
 
33
\section{Extends}{
32
\section{Extends}{
34
The specific classes all extend class \code{"structure"}, directly, and
33
  The specific classes all extend class \code{"structure"}, directly, and
35
class \code{"vector"}, by class "structure".
34
  class \code{"vector"}, by class \code{"structure"}.
36
}
35
}
37
\section{Methods}{
36
\section{Methods}{
38
  \describe{
37
  \describe{
39
    \item{coerce}{Methods are defined to coerce arbitrary objects to
38
    \item{coerce}{Methods are defined to coerce arbitrary objects to
40
      these classes, by calling the corresponding basic function, for
39
      these classes, by calling the corresponding basic function, for