| Slot_accessors {TapeS} | R Documentation |
slot accessor functions for class 'tprtrees'
Description
get and set slot values
Usage
spp(obj)
## S4 method for signature 'tprTrees'
spp(obj)
spp(obj) <- value
## S4 replacement method for signature 'tprTrees'
spp(obj) <- value
Dm(obj)
## S4 method for signature 'tprTrees'
Dm(obj)
Dm(obj) <- value
## S4 replacement method for signature 'tprTrees'
Dm(obj) <- value
Hm(obj)
## S4 method for signature 'tprTrees'
Hm(obj)
Hm(obj) <- value
## S4 replacement method for signature 'tprTrees'
Hm(obj) <- value
Ht(obj)
## S4 method for signature 'tprTrees'
Ht(obj)
Ht(obj) <- value
## S4 replacement method for signature 'tprTrees'
Ht(obj) <- value
sHt(obj)
## S4 method for signature 'tprTrees'
sHt(obj)
sHt(obj) <- value
## S4 replacement method for signature 'tprTrees'
sHt(obj) <- value
mono(obj)
## S4 method for signature 'tprTrees'
mono(obj)
Arguments
obj |
object of class 'tprtrees' |
value |
depending on slot, see details |
Details
Getting and setting the values of the different slots of
'tprTrees'-objects. For slot mono no setting function has been defined,
as this slot is computed by check_monotonicity and should not
be reset by users.
Setting of spp requires mode integer. For convenience,
value is coerced by as.integer.
Setting spp and H, a vector of length equal
length(spp(obj)) is required.
For setting slots Dm and Hm value must be a
list of vectors of length equal length(spp(obj)) and the length of
each vector must correspond to the length of the vectors in Hm and
Dm.
Value
the accessor functions return the value of the specified slot and the setting functions update the object
Functions
-
spp(): getting slot 'spp' ofobj -
spp(tprTrees): method for class 'tprTrees' -
spp(obj) <- value: setting 'spp' slot of object -
spp(tprTrees) <- value: method for class 'tprTrees' -
Dm(): getting slot 'Dm' ofobj -
Dm(tprTrees): method for class 'tprTrees' -
Dm(obj) <- value: setting 'Dm' slot of object -
Dm(tprTrees) <- value: method for class 'tprTrees' -
Hm(): getting slot 'Hm' ofobj -
Hm(tprTrees): method for class 'tprTrees' -
Hm(obj) <- value: setting 'Hm' slot of object -
Hm(tprTrees) <- value: method for class 'tprTrees' -
Ht(): getting slot 'Ht' ofobj -
Ht(tprTrees): method for class 'tprTrees' -
Ht(obj) <- value: setting 'Ht' slot of object -
Ht(tprTrees) <- value: method for class 'tprTrees' -
sHt(): getting slot 'sHt' ofobj -
sHt(tprTrees): method for class 'tprTrees' -
sHt(obj) <- value: setting 'sHt' slot of object -
sHt(tprTrees) <- value: method for class 'tprTrees' -
mono(): getting slot 'monotone' ofobj -
mono(tprTrees): method for class 'tprTrees'