get and set slot values
spp(obj)# S4 method for tprTrees
spp(obj)
spp(obj) <- value
# S4 method for tprTrees
spp(obj) <- value
Dm(obj)
# S4 method for tprTrees
Dm(obj)
Dm(obj) <- value
# S4 method for tprTrees
Dm(obj) <- value
Hm(obj)
# S4 method for tprTrees
Hm(obj)
Hm(obj) <- value
# S4 method for tprTrees
Hm(obj) <- value
Ht(obj)
# S4 method for tprTrees
Ht(obj)
Ht(obj) <- value
# S4 method for tprTrees
Ht(obj) <- value
sHt(obj)
# S4 method for tprTrees
sHt(obj)
sHt(obj) <- value
# S4 method for tprTrees
sHt(obj) <- value
mono(obj)
# S4 method for tprTrees
mono(obj)
the accessor functions return the value of the specified slot and the setting functions update the object
object of class 'tprtrees'
depending on slot, see details
spp()
: getting slot 'spp' of obj
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' of obj
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' of obj
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' of obj
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' of obj
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' of obj
mono(tprTrees)
: method for class 'tprTrees'
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
.
tprTrees-class
, tprTrees