| Line 63... |
Line 63... |
| 63 |
|
63 |
|
| 64 |
The prototype most commonly just consists of the prototypes of all
|
64 |
The prototype most commonly just consists of the prototypes of all
|
| 65 |
its slots. But that need not be the case: the definition of the
|
65 |
its slots. But that need not be the case: the definition of the
|
| 66 |
class can specify any valid object for any of the slots.
|
66 |
class can specify any valid object for any of the slots.
|
| 67 |
|
67 |
|
| 68 |
There are a number of ``basic'' classes, corresponding to the
|
68 |
There are a number of \dQuote{basic} classes, corresponding to the
|
| 69 |
ordinary kinds of data occurring in R. For example,
|
69 |
ordinary kinds of data occurring in R. For example,
|
| 70 |
\code{"numeric"} is a class corresponding to numeric vectors.
|
70 |
\code{"numeric"} is a class corresponding to numeric vectors.
|
| 71 |
These classes are predefined and can then be used as slots or as
|
71 |
These classes are predefined and can then be used as slots or as
|
| 72 |
superclasses for any other class definitions. The prototypes for
|
72 |
superclasses for any other class definitions. The prototypes for
|
| 73 |
the vector classes are vectors of length 0 of the corresponding
|
73 |
the vector classes are vectors of length 0 of the corresponding
|