Created
January 16, 2018 14:10
-
-
Save akbertram/6a0f005eb6931749344fec7247a25d42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Extends: | |
Class "vector", directly | |
Class "index", directly | |
Class "replValue", directly | |
Class "numLike", directly | |
Class "number", directly | |
Class "atomicVector", directly | |
Class "numericVector", directly | |
Class "replValueSp", by class "replValue", distance 2 | |
Class "Mnumeric", by class "numericVector", distance 2 | |
Known Subclasses: | |
Class "integer", directly | |
Class "factor", by class "integer", distance 2 | |
> str(ct$numeric) | |
Formal class 'classRepresentation' [package "methods"] with 11 slots | |
..@ slots : list() | |
..@ contains :List of 9 | |
.. ..$ vector :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "vector" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ index :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "index" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ replValue :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "replValue" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ numLike :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "numLike" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ number :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "number" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ atomicVector :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "atomicVector" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ numericVector:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "numericVector" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ replValueSp :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "replValueSp" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "replValue" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
.. ..$ Mnumeric :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "Mnumeric" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "numericVector" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
..@ virtual : logi FALSE | |
..@ prototype : num(0) | |
..@ validity : NULL | |
..@ access : list() | |
..@ className : chr "numeric" | |
..@ package : chr "methods" | |
..@ subclasses:List of 2 | |
.. ..$ integer:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "integer" | |
.. .. .. ..@ superClass: chr "numeric" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ factor :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "factor" | |
.. .. .. ..@ superClass: chr "numeric" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "integer" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
..@ versionKey:<externalptr> | |
..@ sealed : logi TRUE | |
> setClass( | |
Class= representation= prototype= contains= validity= access= where= version= sealed= package= S3methods= slots= | |
> setClass("index", contains="character") | |
Error in .walkClassGraph(ClassDef, "contains", where, attr(ext, "conflicts")) : | |
class “index” may not contain itself: it contains class “character”, with a circular relation back to “index” | |
Error in setClass("index", contains = "character") : | |
error in contained classes ("character") for class “index”; previous definition restored to ‘.GlobalEnv’ | |
> setClass("index", representation=c(foo="character")) | |
Error in validObject(.Object) : | |
invalid class “classRepresentation” object: invalid object for slot "slots" in class "classRepresentation": got class "character", should be or extend class "list" | |
> setClass("index", representation=c(foo="character")) | |
> help(setClass) | |
> track <- setClass("track", slots = c(x="numeric", y="numeric")) | |
> track <- setClass("index", slots = c(x="numeric", y="numeric")) | |
> getClass("index") | |
Class "index" [in ".GlobalEnv"] | |
Slots: | |
Name: x y | |
Class: numeric numeric | |
> getClass("index",) | |
Class= .Force= where= | |
> getClass("index",where=base()) | |
Error in base() : could not find function "base" | |
> getClass("index",where=baseenv()) | |
Found more than one class "index" in cache; using the first, from namespace 'Matrix' | |
Also defined by ‘.GlobalEnv’ | |
Extended class definition ( "ClassUnionRepresentation" ) | |
Virtual Class "index" [package "Matrix"] | |
No Slots, prototype of class "numeric" | |
Known Subclasses: | |
Class "numeric", directly | |
Class "logical", directly | |
Class "character", directly | |
Class "integer", by class "numeric", distance 2 | |
Class "signature", by class "character", distance 2 | |
Class "className", by class "character", distance 2 | |
Class "ObjectsWithPackage", by class "character", distance 2 | |
Class "factor", by class "numeric", distance 3 | |
> getClass('index') | |
Class "index" [in ".GlobalEnv"] | |
Slots: | |
Name: x y | |
Class: numeric numeric | |
> getClass('index',where=baseenv()) | |
Found more than one class "index" in cache; using the first, from namespace 'Matrix' | |
Also defined by ‘.GlobalEnv’ | |
Extended class definition ( "ClassUnionRepresentation" ) | |
Virtual Class "index" [package "Matrix"] | |
No Slots, prototype of class "numeric" | |
Known Subclasses: | |
Class "numeric", directly | |
Class "logical", directly | |
Class "character", directly | |
Class "integer", by class "numeric", distance 2 | |
Class "signature", by class "character", distance 2 | |
Class "className", by class "character", distance 2 | |
Class "ObjectsWithPackage", by class "character", distance 2 | |
Class "factor", by class "numeric", distance 3 | |
> methods::`.classTable`:: | |
Error: unexpected '::' in "methods::`.classTable`::" | |
> methods::`.classTable`$index | |
Error: '.classTable' is not an exported object from 'namespace:methods' | |
> methods:::`.classTable`$index | |
$Matrix | |
Extended class definition ( "ClassUnionRepresentation" ) | |
Virtual Class "index" [package "Matrix"] | |
No Slots, prototype of class "numeric" | |
Known Subclasses: | |
Class "numeric", directly | |
Class "logical", directly | |
Class "character", directly | |
Class "integer", by class "numeric", distance 2 | |
Class "signature", by class "character", distance 2 | |
Class "className", by class "character", distance 2 | |
Class "ObjectsWithPackage", by class "character", distance 2 | |
Class "factor", by class "numeric", distance 3 | |
$.GlobalEnv | |
Class "index" [in ".GlobalEnv"] | |
Slots: | |
Name: x y | |
Class: numeric numeric | |
> methods:::`.classTable`$numeric | |
Class "numeric" [package "methods"] | |
No Slots, prototype of class "numeric" | |
Extends: | |
Class "vector", directly | |
Class "index", directly | |
Class "replValue", directly | |
Class "numLike", directly | |
Class "number", directly | |
Class "atomicVector", directly | |
Class "numericVector", directly | |
Class "replValueSp", by class "replValue", distance 2 | |
Class "Mnumeric", by class "numericVector", distance 2 | |
Known Subclasses: | |
Class "integer", directly | |
Class "factor", by class "integer", distance 2 | |
> str(methods:::`.classTable`$numeric) | |
Formal class 'classRepresentation' [package "methods"] with 11 slots | |
..@ slots : list() | |
..@ contains :List of 9 | |
.. ..$ vector :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "vector" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ index :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "index" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ replValue :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "replValue" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ numLike :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "numLike" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ number :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "number" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ atomicVector :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "atomicVector" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ numericVector:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "numericVector" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ replValueSp :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "replValueSp" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "replValue" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
.. ..$ Mnumeric :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "Mnumeric" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "numericVector" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
..@ virtual : logi FALSE | |
..@ prototype : num(0) | |
..@ validity : NULL | |
..@ access : list() | |
..@ className : chr "numeric" | |
..@ package : chr "methods" | |
..@ subclasses:List of 2 | |
.. ..$ integer:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "integer" | |
.. .. .. ..@ superClass: chr "numeric" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ factor :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "factor" | |
.. .. .. ..@ superClass: chr "numeric" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "integer" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
..@ versionKey:<externalptr> | |
..@ sealed : logi TRUE | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> str(methods:::`.classTable`$numeric) | |
Formal class 'classRepresentation' [package "methods"] with 11 slots | |
..@ slots : list() | |
..@ contains :List of 9 | |
.. ..$ vector :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "vector" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ index :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "index" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ replValue :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "replValue" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ numLike :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "numLike" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ number :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "number" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ atomicVector :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "atomicVector" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ numericVector:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "numericVector" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ replValueSp :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "replValueSp" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "replValue" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
.. ..$ Mnumeric :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "numeric" | |
.. .. .. ..@ superClass: chr "Mnumeric" | |
.. .. .. ..@ package : chr "Matrix" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "numericVector" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
..@ virtual : logi FALSE | |
..@ prototype : num(0) | |
..@ validity : NULL | |
..@ access : list() | |
..@ className : chr "numeric" | |
..@ package : chr "methods" | |
..@ subclasses:List of 2 | |
.. ..$ integer:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "integer" | |
.. .. .. ..@ superClass: chr "numeric" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr(0) | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 1 | |
.. ..$ factor :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. ..@ subClass : chr "factor" | |
.. .. .. ..@ superClass: chr "numeric" | |
.. .. .. ..@ package : chr "methods" | |
.. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. ..@ test :function (object) | |
.. .. .. ..@ replace :function (from, to, value) | |
.. .. .. ..@ simple : logi TRUE | |
.. .. .. ..@ by : chr "integer" | |
.. .. .. ..@ dataPart : logi FALSE | |
.. .. .. ..@ distance : num 2 | |
..@ versionKey:<externalptr> | |
..@ sealed : logi TRUE | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> str(methods:::`.classTable`$index) | |
List of 2 | |
$ Matrix :Formal class 'ClassUnionRepresentation' [package "methods"] with 11 slots | |
.. ..@ slots : list() | |
.. ..@ contains : list() | |
.. ..@ virtual : logi TRUE | |
.. ..@ prototype : num(0) | |
.. ..@ validity : NULL | |
.. ..@ access : list() | |
.. ..@ className : atomic [1:1] index | |
.. .. ..- attr(*, "package")= chr "Matrix" | |
.. ..@ package : chr "Matrix" | |
.. ..@ subclasses:List of 8 | |
.. .. ..$ numeric :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "numeric" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr(0) | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 1 | |
.. .. ..$ logical :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "logical" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr(0) | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 1 | |
.. .. ..$ character :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "character" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr(0) | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 1 | |
.. .. ..$ integer :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "integer" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr "numeric" | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 2 | |
.. .. ..$ signature :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "signature" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr "character" | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 2 | |
.. .. ..$ className :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "className" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr "character" | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 2 | |
.. .. ..$ ObjectsWithPackage:Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "ObjectsWithPackage" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr "character" | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 2 | |
.. .. ..$ factor :Formal class 'SClassExtension' [package "methods"] with 10 slots | |
.. .. .. .. ..@ subClass : chr "factor" | |
.. .. .. .. ..@ superClass: chr "index" | |
.. .. .. .. ..@ package : chr "Matrix" | |
.. .. .. .. ..@ coerce :function (from, strict = TRUE) | |
.. .. .. .. ..@ test :function (object) | |
.. .. .. .. ..@ replace :function (from, to, value) | |
.. .. .. .. ..@ simple : logi TRUE | |
.. .. .. .. ..@ by : chr "numeric" | |
.. .. .. .. ..@ dataPart : logi FALSE | |
.. .. .. .. ..@ distance : num 3 | |
.. ..@ versionKey:<externalptr> | |
.. ..@ sealed : logi FALSE | |
$ .GlobalEnv:Formal class 'classRepresentation' [package "methods"] with 11 slots | |
.. ..@ slots :List of 2 | |
.. .. ..$ x: atomic [1:1] numeric | |
.. .. .. ..- attr(*, "package")= chr "methods" | |
.. .. ..$ y: atomic [1:1] numeric | |
.. .. .. ..- attr(*, "package")= chr "methods" | |
.. ..@ contains : list() | |
.. ..@ virtual : logi FALSE | |
.. ..@ prototype :Formal class 'S4' [package ""] with 0 slots | |
list() | |
.. ..@ validity : NULL | |
.. ..@ access : list() | |
.. ..@ className : atomic [1:1] index | |
.. .. ..- attr(*, "package")= chr ".GlobalEnv" | |
.. ..@ package : chr ".GlobalEnv" | |
.. ..@ subclasses: list() | |
.. ..@ versionKey:<externalptr> | |
.. ..@ sealed : logi FALSE | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment