[Distr-commits] r1372 - in branches: distr-2.8 distr-2.9/pkg/distr distr-2.9/pkg/distr/inst distr-2.9/pkg/distr/man distr-2.9/pkg/distr/vignettes distr-2.9/pkg/distrDoc/inst distr-2.9/pkg/distrDoc/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 12 14:44:38 CET 2022


Author: ruckdeschel
Date: 2022-11-12 14:44:38 +0100 (Sat, 12 Nov 2022)
New Revision: 1372

Added:
   branches/distr-2.8/20180808Status2-8+1-2.txt
Modified:
   branches/distr-2.9/pkg/distr/DESCRIPTION
   branches/distr-2.9/pkg/distr/inst/NEWS
   branches/distr-2.9/pkg/distr/man/0distr-package.Rd
   branches/distr-2.9/pkg/distr/man/Truncate-methods.Rd
   branches/distr-2.9/pkg/distr/man/internals.Rd
   branches/distr-2.9/pkg/distr/man/qqbounds.Rd
   branches/distr-2.9/pkg/distr/vignettes/newDistributions-knitr.Rnw
   branches/distr-2.9/pkg/distrDoc/inst/NEWS
   branches/distr-2.9/pkg/distrDoc/vignettes/distr.Rnw
Log:
[distr] branch 2.9 changed to version 2.9.1 and ported changes in trunk as to man pages back to branch

Added: branches/distr-2.8/20180808Status2-8+1-2.txt
===================================================================
--- branches/distr-2.8/20180808Status2-8+1-2.txt	                        (rev 0)
+++ branches/distr-2.8/20180808Status2-8+1-2.txt	2022-11-12 13:44:38 UTC (rev 1372)
@@ -0,0 +1,259 @@
+Hier die gebündelten Release News / mit -> markiert die Punkte,
+ die seit letzter Woche dazu  gekommen sind 
+
+%----------------------------------------------------------------------
+[distr]
+%----------------------------------------------------------------------
+
+user-visible CHANGES:
++ DESCRIPTION tag SVNRevision changed to VCS/SVNRevision
++ plot methods now return an S3 object of class \code{c("plotInfo","DiagnInfo")}, i.e., a list containing the 
+  information needed to produce the respective plot, which at a later stage could be used by different graphic engines (like, e.g. 
+  \code{ggplot}) to produce the plot in a different framework. A more detailed description will follow in a subsequent version.
++ accessor & replacer for prob, GeomParameter are finally Defunct
++ liesInSupport gains an argument checkFin; in case of DiscreteDistributions, it tries to use 
+  additional information from internal slot .finSupport, and e.g. if there is a lattice.  
++ liesInSupport now also is available for UnivarLebDecDistribution, LatticeDistribution, and UnivarMixingDistribution
+
+under the hood:
++ DiscreteDistribution(s) gain a logical slot .finSupport to better control whether the 
+  "true" support (not the possibly truncated one in slot support) is infinite (more precisely
+  it is of length 2 -- first coordinate if the lower bound of the support is finite, second if 
+  the upper bound is finite)
+
+%----------------------------------------------------------------------
+[distrEx]
+%----------------------------------------------------------------------
+
+user-visible CHANGES:
++ DESCRIPTION tag SVNRevision changed to VCS/SVNRevision
+
+under the hood:
+->+ moved quantile integration methods for expectation for Weibull and
+  Gamma distribution from pkg RobExtremes to distrEx 
+->+ introduce exported helper function .qtlIntegrate  to achieve this
+  (is reused in RobExtremes for the GEV methods there)
+->+ cleaned .Rd file E.Rd: It contained still some references to methods
+  for extreme value distributions which are now in RobExtremes
+  and some old mail reference peter.ruckdeschel at uni-bayreuth.de
+
+user-visible CHANGES:
++ DESCRIPTION tag SVNRevision changed to VCS/SVNRevision
+
+under the hood:
+->+ moved quantile integration methods for expectation for Weibull and
+  Gamma distribution from pkg RobExtremes to distrEx 
+->+ introduce exported helper function .qtlIntegrate  to achieve this
+  (is reused in RobExtremes for the GEV methods there)
+->+ cleaned .Rd file E.Rd: It contained still some references to methods
+  for extreme value distributions which are now in RobExtremes
+  and some old mail reference peter.ruckdeschel at uni-bayreuth.de
+->+ DiscreteMVDistribution gains a (matrix valued) slot .FinSupport in analogy to the 
+  univariate DiscreteDistribution (idea: coordinatewise checking whether a multivariate 
+   observation could, in principle, lie in the support -- the 1st row states
+   whether the ith marginal distribution has a finite left endpoint, and the
+   2nd row if it is has a finite right endpoint); not yet further used
+->+ for consistency to the univariate methods, the liesInSupport() method for
+  DiscreteMVDistribution gains an argument checkFin, which is not yet used.
+
+  
+%----------------------------------------------------------------------
+[distrMod]
+%----------------------------------------------------------------------
+
+-> + require more recent versions of distr, distrEx
++ plot methods now return an S3 object of class \code{c("plotInfo","DiagnInfo")}, i.e., a list containing the 
+  information needed to produce the respective plot, which at a later stage could be used by different graphic engines (like, e.g. 
+  \code{ggplot}) to produce the plot in a different framework. A more detailed description will follow in a subsequent version.
++ DESCRIPTION tag SVNRevision changed to VCS/SVNRevision
++ "cleverer parsing of dots" in M[L,C,D]Estimator:
+  Triggered by an error observed by Kornelius Rohmeyer, we now parse the dots (...) argument 
+  of M[L,C,D]Estimator a  little more closely and filter out obvious clashes: We filter out taboo arguments 
+  (causing clashes with formals in optim/optimize and calling arguments); from the remaining ones only 
+  [exactly] _named_ arguments of the optimizer (optim/optimize) and those matching either exactly arguments 
+  of the criterion or all remaining ones (if ... is a formal of the criterion) are passed on: 
+  This way, one can, if desired, do evaluation-wise validity checks in the criterion. 
++ For diagnostic purposes, MCEstimate-class gains a slot optimReturn (of class "ANY" and filled by
+  NULL by default) which is filled by the return value of the optimizer in "mceCalc" -- it has a
+  corresponding accessor
+->+ distinguish three cases for CvMMDEstimator selected by  argument muDatOrMod = c("Dat","Mod", "Other"):
+  in case "Dat", mu = emp. cdf (default), in case "Mod", mu = current best fit model distribution,
+  and in case "Other" one has to supply an integration  probability mu. 
+  => consistency between estimate and asyCov
+->+ added some theory/references to help file to MD estimators
+->+ the L2derivatives of the SimpleL2ParamFamilies and the L2GroupFamilies now respect 
+  restrictions in the support of the underlying distribution: the L2derivatives are 0
+  whenever the argument x has liesInSupport(distribution,x) == FALSE
+->+ new model class / generator LogisticLocationScaleFamily
+  
+bug fixes
+->+ discovered some issues with local variables in L2Families (global values were used instead...)  
+->+ default for asCov of CvMMDEstimator was inconsistent: the estimator was using emp.cdf, but
+  the asyCov was using mu the current best fit model distribution 
+->+ in the wrappers to MDEstimator: CvMMDEstimator, KolmogorovMDEstimator, TotalVarMDEstimator, 
+  HellingerMDEstimator, we had the "wrong" call in slot estimate.call
+->+ show-method for ParamWithShapeFamParameter and MCEstimate did unnecessary casting to superclasses
+  hence hid the true class
+->+ argument distance did not show it came from CvMDist, CvMDist2 via CvMMDEstiamtor when unparsed -- 
+  now the unparsed argument in CvMMDEstimator is called CvMDist0 so shows that it is related to 
+  CvMDist 
+  
+under the hood:
+
++ As this is more for internal purposes, example code for the parsing of dots argument 
+  is in lines ll 275--334 in mleCalc-methods.R (wrapped in a if(FALSE){ }).
+->+ in code in SimpleL2ParamFamilies.R: 
+   + param.0 denotes the local current parameter of the L2Family  
+   + param is used as function argument
+   + <paramname>.0 is used in .fct - functions as local variant (intern to fct) of the current parameter
+   + in the substituted L2deriv.fct, we use <paramname>.1 which is substituted for <paramname>.0
+   + in case <paramname>.0 is already used otherwise (as in NbinomMeanSizeFamily) we use <paramname>.00 instead
+->+ replaced integration for AbscontDistribution(s) in .CvMMDCovariance by integration on quantile scale
+   => CvMMDEstimator now works with variances even for Gamma distributions for shape < 1 ...   
+->+ .process.meCalcRes gains arg "x" to be able to pass on emp.CDF for mu in CvMMDEstimator
+   if arg asvar.fct of MCEstimator has "x" in formals the observations x are passed on to asvar.fct, 
+   otherwise they are not; correspondingly "x" is passed on to .process.meCalcRes in
+   MCEstimator(), MDEstimator(), MLEstimator(). 
+-> + old .CvMMDCovariance() becomes .oldCvMMDCovariance
+-> + new wrapper CvMDist2 which by default uses model distribution as mu
++ CvMMDEstimator gains argument muDatOrMod = c("Dat","Mod") to distinguish two cases
+-> + moved code to .[old]CvMMDCovariance from 0distrModUtils.R to new file asCvMVarianceQtl.R
+-> + some fiddeling with the names of MCEstimators: 
+  all functions MDEstimator, CvMMDEstimator, KolmogorovMDEstimator, TotalVarMDEstimator, 
+  HellingerMDEstimator, MLEstimator, MCEstimator gain an extra argument nmsffx for 
+  potential suffices to be appended to the estimator name. 
+->+ in MDEstimator with Cramer von Mises distance in case 
+    * distance == CvMDist   && !is.null(mu) -> "( mu = <muname> )"
+    * distance == CvMDist   && is.null(mu)  -> "( mu = emp. cdf )"
+    * distance == CvMDist2                  -> "( mu = model distr. )"
+  is appended to the default estimator name 
+->+ similarly in wrapper CvMMDEstimator in case  argument 'muDatOrMod' is matched to 
+  * muDatOrMod=="Dat"   -> "( mu = emp. cdf )"
+  * muDatOrMod=="Mod"   -> "( mu = model distr. )"
+  * muDatOrMod=="Other" -> "( mu = <muname> )"
+  is appended to the default estimator name 
+->+ based on this tag "( mu = ... )" later on, in pkg RobAStBase, a (conditional) 
+  coerce method produces the pIC of the MDE by means of .CvMMDCovariance[WithMux]
+->+ new subclasses "MLEstimate", "MDEstimate", "CvMMDEstimate" for internal method dispatch  
+  
+  
+%----------------------------------------------------------------------
+[distrDoc]
+%----------------------------------------------------------------------
+
+->+ DESCRIPTION tag SVNRevision changed to VCS/SVNRevision
+->+ mention the more refined version of liesInSupport in the vignette 
+
+%----------------------------------------------------------------------
+[RandVar]
+%----------------------------------------------------------------------
+
+user-visible CHANGES:
+->+ require more recent distr/distrEx versions
+
+under the hood:
+->+ for consistency to the univariate methods, the liesInSupport() method for
+  DiscreteMVDistribution is called with an extra argument checkFin, 
+  which is not yet used.
+
+%----------------------------------------------------------------------
+[RobAStBase]
+%----------------------------------------------------------------------
+user-visible CHANGES:
+-> + slot function modifyIC of the different IC classes gains
+  an argument withMakeIC to be able to adjust this to a
+  higher granularity
+->+ updated required package versions in DESCRIPTION  
+
+bugfixes  
+->+ and a forgotten no longer used instance of oldmodif in kStepEstimator
+
+under the hood
+-> + new S4 (estimator) class "MCALEstimate" containing both 
+  "MCEstimate" and "ALEstimate" to make accessible pIC-methods
+  to CvMMDEstimators...
+-> + some unnecessary coercions (with informatino loss) in show methods
+-> + new .checkEstClassForParamFamily method to force (expost)
+      casting to MCALEstimate (with pIC)
+-> + to speed up things slot pIC is filled with a promise only 
+  which is only forced when called through accessor pIC 
+  (and then the slot is filled with the actual pIC)
+-> + technically this is realized by a slot pIC of 
+  class OptionalInfluenceCurveOrCall  
+-> + internal function .getPIC is the workhorse: it takes the 
+  estimator evaluates its argument ParamFamily from slot estimate.call
+  and moves it to the parameter value which was estimated;
+  at this parameter value, the IC is constructed 
+-> + new internal helper method getPIC to get hand on the pIC 
+  --> for MLE it computes it by optIC  
+  --> for CvMMDEstimators -- it uses the name of the estimator; 
+  more specifically it relies on tag
+  * "( mu = emp. cdf )" => this uses .CvMMDCovarianceWithMux
+  * "( mu = model distr. )" => this uses .CvMMDCovariance with no argument mu
+  * "( mu = <muname> )" => this uses .CvMMDCovariance with argument mu
+  to get the pIC  
+-> + force optimal ICs to respect the support of the model distribution
+-> + less use of RandVar infrastructure in generateIC.fct to gain speed     
+-> + in kStepEstimator got back from RandVar-evaluation to IC - evaluation
+  background: updates should be fast (I saw examples with 60s for 3step...
+  with fast LMs...) -> to this end: 
+  (a) (for internal purposes) introduce new intermediate S4 class ".fastIC" 
+      (with non-exported generator .fastIC in file combinedICs.R) which is 
+      inbetween class IC and HampIC and has a new slot ".fastFct".
+      ".fastFct" is an optional (= can be NULL) mere function in one argument 
+      which returns the vector-valued IC; this way coordinatewise repeated 
+      checking whether x is in support of distr (and evaluation of the weight) 
+      can be avoided
+  (b) new slot ".fastFct" is filled automatically for our Hamepl-type 
+      ICs in generators ContIC and TotalVarIC by analogue generateIC.fast.fct
+      to generateIC.fct in file generateICfct.R. 
+  (c) class .fastIC is intermediate as we need it, too, for non-Hampel type ICs
+      as arise when either the covariance of our opt-rob IC is singular or 
+      one works with pICs and has to reconstruct full ICs by filling the parts
+      in the orthogonal complement of Range IC; 
+  (d) to this last issue instead of adding two random variables, as was done 
+      beforehand in kStepEstimator, one uses the new helper function combineOrthPICs
+      in file combinedICs.R which combines (without checking orthogonality) two
+      pICs to one full IC by adding the curves (and the fast functions). 
+  (e) in kStepEstimator, we now use evalIC.v, a (sapply-)vectorized version
+      of evalIC; this is an exported method and has a particular method for
+      class ".fastIC" which uses slot ".fastFct" instead of the evaluation 
+      of the pIC through evalRandVar ...
+  (f) generateIC.fct has also been revised: it avoids using random variable
+      Y(x)/Yi(x) and instead computes them right away from Lambda;
+	  this also has as background that checkIC/makeIC should be enhanced;
+	  ultimately, this enhancement is passed to ROptEst -- idea is to
+	  reuse infrastructure from getInfStand getInfCent which automatically
+	  does symmetry checking ...
+
+%----------------------------------------------------------------------
+[ROptEst]
+%----------------------------------------------------------------------
+
+user-visible CHANGES:
+-> + slot function modifyIC of the different IC classes gains
+  an argument withMakeIC to be able to adjust this to a
+  higher granularity
+-> + require more recent versions in DESCRIPTION
+
+under the hood
+
+-> + L2LocationFamily, L2LocationScaleFamily, and L2LocationScaleFamily gain methods for interpolRisk
+  ~> speed up is prepared (only need to store the reference LMs in sysdata.rda) 
+  => due to affine equivariance, we only have to store one set of LM's 
+-> + comparePlot has a try catch now for MBRE
+-> + some buglets in getStartIC 
+-> + some tedious debugging in getStartIClcsc.R
+-> + clarified if clauses in roptest.new (and removed .with.checkEstClassForParamFamily from dots to be sure)
+
+%----------------------------------------------------------------------
+[RobExtremes]
+%----------------------------------------------------------------------
+
+under the hood
++ moved quantile integration methods for expectation for Weibull and
+  Gamma distribution to pkg distrEx (>= 2.8.0)
++ made a helper function .qtlIntegrate out of existing code in 
+  RobExtremes 1.1.0  and moved it to distrEx where it is exported
+  from version 2.8.0; it is reused in RobExtremes for the GEV methods 
+		
\ No newline at end of file

Modified: branches/distr-2.9/pkg/distr/DESCRIPTION
===================================================================
--- branches/distr-2.9/pkg/distr/DESCRIPTION	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/DESCRIPTION	2022-11-12 13:44:38 UTC (rev 1372)
@@ -1,6 +1,6 @@
 Package: distr
-Version: 2.9.0
-Date: 2019-03-13
+Version: 2.9.1
+Date: 2022-11-12
 Title: Object Oriented Implementation of Distributions
 Description: S4-classes and methods for distributions.
 Authors at R: c(person("Florian", "Camphausen", role="ctb", comment="contributed as student in
@@ -11,7 +11,7 @@
             person("R Core Team", role = c("ctb", "cph"), comment="for source file ks.c/
             routines 'pKS2' and 'pKolmogorov2x'"))
 Depends: R(>= 3.4), methods, graphics, startupmsg, sfsmisc
-Suggests: distrEx, svUnit (>= 0.7-11), knitr
+Suggests: distrEx, svUnit (>= 0.7-11), knitr, distrMod, ROptEst
 Imports: stats, grDevices, utils, MASS
 VignetteBuilder: knitr
 ByteCompile: yes

Modified: branches/distr-2.9/pkg/distr/inst/NEWS
===================================================================
--- branches/distr-2.9/pkg/distr/inst/NEWS	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/inst/NEWS	2022-11-12 13:44:38 UTC (rev 1372)
@@ -31,6 +31,7 @@
   CompoundDistribution(): special treatment of case that NumbOfSummandsDistr is a Dirac distribution
   (and detect that for prob in {0,1} Binom(size, prob) is in fact a Dirac distribution)
 + fixed some broken URLs and changed URLs from http to https where possible
+  changed rstudio.com to posit.co
 
 ##############
 v 2.8

Modified: branches/distr-2.9/pkg/distr/man/0distr-package.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/0distr-package.Rd	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/man/0distr-package.Rd	2022-11-12 13:44:38 UTC (rev 1372)
@@ -11,17 +11,14 @@
 parameter and ---most important--- for the four constitutive methods \code{r},
 \code{d}, \code{p}, and \code{q} for simulation respectively for evaluation of
 density / c.d.f.\ and quantile function of the corresponding distribution.
-
 Most distributions of  package \pkg{stats} (like normal, Poisson, etc.)
 are implemented as subclasses of either \code{AbscontDistribution} or
 \code{DiscreteDistribution}, which themselves are again subclasses of
 \code{Distribution}.
-
 Up to arguments referring to a parameter of the distribution (like
 \code{mean} for the normal distribution), these function slots have the
 same arguments as those of package \pkg{stats}, i.e.; for a distribution object
 \code{X} we may call these functions as
-
 \itemize{
 \item \code{r(X)(n)}
 \item \code{d(X)(x, log = FALSE)}
@@ -28,12 +25,10 @@
 \item \code{p(X)(q, lower.tail = TRUE, log.p = FALSE)}
 \item \code{q(X)(p, lower.tail = TRUE, log.p = FALSE)}
 }
-
 For the arguments of these function slots see e.g. \code{\link{rnorm}}.
 Note that, as usual, slots \code{d}, \code{p}, and \code{q} are vectorized
 in their first argument, but are not on the subsequent ones.
-
-In the environments of RStudio, see \url{https://www.rstudio.com/} and
+In the environments of RStudio, see \url{https://www.posit.co} and
 Jupyter IRKernel, see \url{https://github.com/IRkernel/IRkernel},
 calls to \code{q} are caught away from standard R evaluation and are treated
 in a non-standard way. This non-standard evaluation in particular throws
@@ -41,28 +36,24 @@
 respective distribution object. To amend this, we provide function \code{q.l}
 as alias to our accessors \code{q}, so that our packages also become available
  in these environments.
-
 Arithmetics and unary mathematical transformations for distributions are
 available: For \code{Distribution} objects \code{X} and \code{Y} expressions
 like \code{3*X+sin(exp(-Y/4+3))} have their natural interpretation as
 corresponding image distributions.
 }
-
 \details{
 \tabular{ll}{
 Package: \tab distr \cr
-Version: \tab 2.9.0 \cr
-Date: \tab 2019-03-13 \cr
+Version: \tab 2.8.1 \cr
+Date: \tab 2022-11-12 \cr
 Depends: \tab R(>= 3.4), methods, graphics, startupmsg, sfsmisc \cr
-Suggests: \tab distrEx, svUnit (>= 0.7-11), knitr \cr
+Suggests: \tab distrEx, svUnit (>= 0.7-11), knitr, distrMod, ROptEst \cr
 Imports: \tab stats, grDevices, utils, MASS \cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab https://distr.r-forge.r-project.org/\cr
-VCS/SVNRevision: \tab 1324 \cr
+VCS/SVNRevision: \tab 1369 \cr
 }}
-
-
 \section{Classes}{
 Distribution classes have a slot \code{param} the class of which
 is is specialized for the particualar distributions. The parameter
@@ -74,10 +65,7 @@
 \code{DiscreteDistribution} and descendants have
 an additional slot \code{\link{support}}, which is again specialized
 to be a lattice for class \code{LatticeDistribution}. \cr
-For saved objects from earlier versions,
-    
-    
-    we provide the methods
+For saved objects from earlier versions, we provide the methods
 \code{\link{isOldVersion}}, and  \code{\link{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,
@@ -85,10 +73,7 @@
 \code{AbscontDistribution} lacking a \code{gap}-slot as well as to
 to objects of subclasses of \code{LatticeDistribution} lacking a
 \code{lattice}-slot.\cr
-To enhance accuracy, from version 1.9 on,
-    
-    
-    we also provide
+To enhance accuracy, from version 1.9 on, we also provide
 subclasses \code{AffLinAbscontDistribution}, \code{AffLinDiscreteDistribution},
 and \code{AffLinLatticeDistribution}, as well as the class union
 \code{AffLinDistribution}, so that in particular functionals like \code{E}
@@ -96,10 +81,7 @@
 These classes have additional slots \code{a}, \code{b}, and \code{X0} to
 reflect the fact, that a distribution object of theses classes has the
 same distribution as \code{a*X0+b}.\cr
-For all particular distributions,
-    
-    
-    as well as for classes
+For all particular distributions, as well as for classes
 \code{AbscontDistribution}, \code{DiscreteDistribution},
 \code{LatticeDistribution}, \code{UnivarDistrList} and \code{DistrList}
 generating functions are provided, e.g. \code{X <- Norm(mean = 3, sd = 2)}.
@@ -106,7 +88,6 @@
 The same goes for the space classes.
 All slots should be inspected / modified by means of corresponding
 accessor- /replacement functions; e.g. \code{mean(X) <- 3}
-
 Again to enhance accuracy, from version 2.0 on, we also provide
 subclasses \code{UnivarMixingDistribution} to support mixing distributions,
 \code{UnivarLebDecDistribution}, to support Lebesgue decomposed distributions
@@ -119,10 +100,8 @@
    +  truncation, huberization, min/max
 which are all now available analytically.\cr
 (see Parameter classes).
-
 \preformatted{
 [*]: there is a generating function with the same name
-
 ##########################
 Distribution classes
 ##########################
@@ -131,8 +110,6 @@
 r(function), d(OptionalFunction), p(OptionalFunction), q(OptionalFunction),
 .withSim(logical), .withArith(logical), .logExact(logical), .lowerExact(logical),
 Symmetry(DistributionSymmetry)
-
-
 "Distribution"
 |>"UnivariateDistribution"
 |>|>"UnivarMixingDistribution"            [*]
@@ -165,22 +142,17 @@
 |>|>|>|>"NBinom"                          [*]
 |>|>|>|>|>"Geom"                          [*]
 |>|>|>|>"Pois"                            [*]
-
 "AffLinDistribution" = union ( "AffLinAbscontDistribution",
                                "AffLinDiscreteDistribution",
                                "AffLinUnivarLebDecDistribution" )
-
 "DistrList"
 |>"UnivarDistrList"                       [*]
-
 "AcDcLc" = union ( "AbscontDistribution",
                    "DiscreteDistribution",
                    "UnivarLebDecDistribution" )
-
 ##########################
 Parameter classes
 ##########################
-
 "OptionalParameter"
 |>"Parameter"
 |>|>"BetaParameter"
@@ -202,23 +174,19 @@
 |>|>"TParameter"
 |>|>"UnifParameter"
 |>|>"WeibullParameter"
-
 ##########################
 Space classes
 ##########################
-
 "rSpace"
 |>"EuclideanSpace"
 |>|>"Reals"
 |>"Lattice"
 |>"Naturals"
-
 ##########################
 Symmetry classes
 ##########################
 slots:
 type(character), SymmCenter(ANY)
-
 "Symmetry"
 |>"NoSymmetry"          [*]
 |>"EllipticalSymmetry"  [*]
@@ -228,12 +196,9 @@
 |>|>"NonSymmetric"      [*]
 |>|>"EvenSymmetric"     [*]
 |>|>"OddSymmetric"      [*]
-
 list thereof
 "DistrSymmList"         [*]
 "FunSymmList"           [*]
-
-
 ##########################
 Matrix classes
 ##########################
@@ -241,7 +206,6 @@
 none
 "PosSemDefSymmMatrix" [*] is subclass of class "matrix" of package "base".
 |>"PosDefSymmMatrix"  [*]
-
 ##########################
 Class unions
 ##########################
@@ -249,10 +213,7 @@
 "OptionalMatrix" = union("matrix","NULL")
 }
 }
-
-
 \section{Methods}{
-
 The group \code{Math} of unary (see \link[methods:S4groupGeneric]{Math}) as well as
 convolution are made available for distributions, see \link{operators-methods}
 ;in particular for convolution powers, we have method \link{convpow}.
@@ -262,7 +223,6 @@
 as a generating function.
 The "history" of distributions
 obtained by chaining operations may be shortened using \code{simplifyr}.
-
 }
 \section{Functions}{
 \preformatted{
@@ -285,21 +245,16 @@
 standardMethods         Utility to automatically generate accessor and
                         replacement functions
 }}
-
 \note{Arithmetics on distribution objects are understood as operations on
 corresponding  (independent) r.v.'s and \strong{not} on distribution functions
 or densities.\cr
 See also \code{distrARITH()}.\cr
 Some functions of package \pkg{stats} have intentionally been masked,
-    
-    
-    
 but completely retain their functionality --- see \code{distrMASK()}.\cr
 Accuracy of these arithmetics is controlled by global options which may
 be inspected / set by \code{distroptions()} and \code{getdistrOption()},
 confer \link{distroptions} .
 }
-
 \section{Extension Packages in distrXXX family}{
 Please note that there are extension packages of this packages
 available on CRAN,
@@ -322,7 +277,6 @@
 distributions.}
 }
 }
-
 \section{Package versions}{
 Note: The first two numbers of package versions do not necessarily reflect
  package-individual development, but rather are chosen for the
@@ -329,13 +283,11 @@
  distrXXX family as a whole in order to ease updating "depends"
  information.
 }
-
 \section{Acknowledgement}{
 We thank Martin Maechler, Josef Leydold, John Chambers,
 Duncan Murdoch, Gregory Warnes, Paul Gilbert, Kurt Hornik,
 Uwe Ligges, Torsten Hothorn, and Seth Falcon for their help
 in preparing this package.}
-
 \author{
 Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de},\cr
 Thomas Stabla \email{statho3 at web.de},\cr
@@ -343,54 +295,42 @@
 Matthias Kohl \email{Matthias.Kohl at stamats.de}\cr
 \emph{Maintainer:} Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de}
 }
-
 \references{
 P. Ruckdeschel, M. Kohl, T. Stabla, F. Camphausen (2006):
 S4 Classes for Distributions, \emph{R News}, \emph{6}(2), 2-6.
 \url{https://CRAN.R-project.org/doc/Rnews/Rnews_2006-2.pdf}
-
 P. Ruckdeschel and M. Kohl (2014):
    General purpose convolution algorithm for distributions
   in S4-Classes by means of FFT. \emph{J. Statist. Softw.}
   \bold{59}(4): 1-25.
-
 a vignette for packages \pkg{distr}, \pkg{distrSim}, \pkg{distrTEst}, and
 \pkg{distrEx} is included into the mere documentation package \pkg{distrDoc}
 and may be called by
 \code{require("distrDoc");vignette("distr")}
-
 %a more detailed manual for \pkg{distr}, \pkg{distrSim}, \pkg{distrTEst}, and \pkg{distrEx} may be downloaded from
 %\url{http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.pdf}
-
 a homepage to this package is available under\cr
 \url{https://distr.r-forge.r-project.org/}
-
 }
-
 \section{Start-up-Banner}{
 You may suppress the start-up banner/message completely by setting
 \code{options("StartupBanner"="off")} somewhere before loading this
 package by \code{library} or \code{require} in your R-code / R-session.
-
 If option \code{"StartupBanner"} is not defined (default) or setting
 \code{options("StartupBanner"=NULL)} or
 \code{options("StartupBanner"="complete")} the complete start-up banner is
 displayed.
-
 For any other value of option \code{"StartupBanner"}
 (i.e., not in \code{c(NULL,"off","complete")})
 only the version information is displayed.
-
 The same can be achieved by wrapping the \code{library} or \code{require}
  call into either \code{suppressStartupMessages()} or
  \code{onlytypeStartupMessages(.,atypes="version")}.
-
  As for general \code{packageStartupMessage}'s, you may also suppress all
  the start-up banner by wrapping the \code{library} or \code{require}
  call into \code{suppressPackageStartupMessages()} from
  \pkg{startupmsg}-version 0.5 on.
  }
-
 \section{Demos}{
 Demos are available --- see \code{demo(package="distr")}}
 \keyword{package}

Modified: branches/distr-2.9/pkg/distr/man/Truncate-methods.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/Truncate-methods.Rd	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/man/Truncate-methods.Rd	2022-11-12 13:44:38 UTC (rev 1372)
@@ -36,7 +36,7 @@
 points lie on the same side of the median, we use this representation
 to enhance the range of applicability, in particular, for slot \code{r},
 we profit from Peter Dalgaard's clever log-tricks as indicated in 
-\url{https://www.mail-archive.com/r-help@r-project.org/msg32097.html}. To this
+\url{https://stat.ethz.ch/pipermail/r-help/2008-September/174321.html}. To this
 end we use the internal functions
 (i.e.; non exported to namespace) \code{\link{.trunc.up}} and
 \code{\link{.trunc.low}} which provide functional slots \code{r,d,p,q} for 

Modified: branches/distr-2.9/pkg/distr/man/internals.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/internals.Rd	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/man/internals.Rd	2022-11-12 13:44:38 UTC (rev 1372)
@@ -143,9 +143,10 @@
 \arguments{
   \item{x}{a (numeric) vector, or (in case of \code{.ULC.cast}) an object of class \code{"AcDcLcDistribution"}}
   \item{y}{a (numeric) vector}
-  \item{f}{a function in one (numeric) argument}
+  \item{f}{in function \code{.primefun}: a function in one (numeric) argument; 
+           in functions \code{.fm}, \code{.fM}, \code{.fM2} a vector of function evaluations}
   \item{lattice}{a lattice (of class \code{Lattice})}
-  \item{support}{a support vector}
+  \item{support}{a support vector / support vector of a univariate discrete distribution}
   \item{eq.space}{logical: shall we check for the support to be equally spaced?} 
   \item{arg}{a formal argument as character}
   \item{fct}{a function}
@@ -202,7 +203,6 @@
           in \code{\link{gsub}}--- but possibly of length >1).}
  \item{gaps,gaps1,gaps2}{matrices \code{m} with two columns, 
              such that \code{t(m)}, interpreted as vector, is ordered}         
- \item{support}{support vector of a univariate discrete distribution}         
  \item{prob}{probability vector for a univariate discrete distribution}         
  \item{mixDistr}{an object of class \code{UnivarDistrList}}
  \item{mixCoeff}{an object of class \code{numeric}; a probability vector}
@@ -223,7 +223,6 @@
  \item{qL,qU}{argmin / argmax of p()-method}  
  \item{ngrid}{number of gridpoints}
  \item{fx}{a vector of function evaluations multiplied by the gridwidth}
- \item{f}{a vector of function evaluations}
  \item{nm}{an optional right asymptotic value}
  \item{Arith}{logical; slot \code{.withArith} of a distribution object,
               or logically-``any'' of these slots in a collection of such objects} 
@@ -381,7 +380,7 @@
 classes \code{DiscreteDistribution} and \code{AbscontDistribution} for 
 one-sided truncation, using (for slot \code{r}) Peter Dalgaard's clever 
 log-tricks as indicated in 
-\url{https://www.mail-archive.com/r-help@r-project.org/msg32097.html}.
+\url{https://stat.ethz.ch/pipermail/r-help/2008-September/174321.html}.
 
 \code{.modifyqgaps} modifies slot \code{q} for objects of class 
      \code{AbscontDistribution} in the presence of gaps, i.e.; if slot

Modified: branches/distr-2.9/pkg/distr/man/qqbounds.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/qqbounds.Rd	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/man/qqbounds.Rd	2022-11-12 13:44:38 UTC (rev 1372)
@@ -101,8 +101,8 @@
   for the implementation of the Kolmogorov distributions;
   \code{\link[distr]{qqplot}} from package \pkg{distr} for
   comparisons of distributions, and
- \code{\link[distrMod]{qqplot}} from package \pkg{distrMod} for comparisons
- of data with models, as well as  \code{\link[RobAStBase]{qqplot}} for
+ \code{qqplot} from package \pkg{distrMod} for comparisons
+ of data with models, as well as  \code{RobAStBase::qqplot} from package \pkg{RobAStBase} for
  checking of corresponding robust esimators.
 }
 \examples{

Modified: branches/distr-2.9/pkg/distr/vignettes/newDistributions-knitr.Rnw
===================================================================
--- branches/distr-2.9/pkg/distr/vignettes/newDistributions-knitr.Rnw	2022-11-12 13:43:27 UTC (rev 1371)
+++ branches/distr-2.9/pkg/distr/vignettes/newDistributions-knitr.Rnw	2022-11-12 13:44:38 UTC (rev 1372)
@@ -212,7 +212,7 @@
 and with \code{r(Z)(50)} we generate $50$ pseudo random numbers distributed 
 according to {\tt Z}, while the \code{plot} command generates the above figure.\\
 
-In the environments of \texttt{RStudio}, see \url{https://www.rstudio.com/} and
+In the environments of \texttt{RStudio}, see \url{https://www.posit.co/} and
[TRUNCATED]

To get the complete diff run:
    svnlook diff /svnroot/distr -r 1372


More information about the Distr-commits mailing list