Version Management

0th

Percentile

Methods for Version Management in Package `distr'

Version-Management-methods

Keywords
utilities
Usage
isOldVersion(object)
new.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)
Details

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]

concept

version management

Aliases
  • isOldVersion
  • isOldVersion-methods
  • isOldVersion,ANY-method
  • conv2NewVersion
  • conv2NewVersion-methods
  • conv2NewVersion,ANY-method
  • conv2NewVersion,LatticeDistribution-method
Documentation reproduced from package distr, version 2.3.1, License: LGPL-3

Community examples

Looks like there are no examples yet.