Version Management: Methods for Version Management in Package `distr'
Description
Version-Management-methodsUsage
isOldVersion(object)
conv2NewVersion(object)
## S3 method for class 'ANY':
isOldVersion(object)
## S3 method for class 'ANY':
conv2NewVersion(object)
## S3 method for class 'LatticeDistribution':
conv2NewVersion(object)
Arguments
object
object of class "ANY"
(or subclasses)
concept
version managementDetails
From version 1.9 of this package on, class "AbscontDistribution"
has an extra slot
gaps
. As the addition of new slots will probably happen again in the future development
of our packages, we provide the following two help functions
isOldVersion
and conv2NewVersion
to check whether the object was generated by an
older version of this package and to convert such an object to the new format, respectively.
Also, the intermediate class "LatticeDistribution"
is introduced at version 1.9
so that all subclasses of "DiscreteDistribution"
like "Binom"
, "Nbinom"
etc,
now have an extra slot lattice
. conv2NewVersion
takes this up and provides
a particular method for signature "LatticeDistribution"
which fills slot
lattice
accordingly.
[object Object],[object Object],[object Object]