[Distr-commits] r1404 - in branches/distr-2.9/pkg/distr: . inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun May 7 14:47:32 CEST 2023


Author: ruckdeschel
Date: 2023-05-07 14:47:32 +0200 (Sun, 07 May 2023)
New Revision: 1404

Modified:
   branches/distr-2.9/pkg/distr/DESCRIPTION
   branches/distr-2.9/pkg/distr/inst/NEWS
   branches/distr-2.9/pkg/distr/man/RtoDPQ.LC.Rd
   branches/distr-2.9/pkg/distr/man/RtoDPQ.Rd
   branches/distr-2.9/pkg/distr/man/RtoDPQ.d.Rd
Log:
[distr] ported changes from trunk to branch distr-2.9

Modified: branches/distr-2.9/pkg/distr/DESCRIPTION
===================================================================
--- branches/distr-2.9/pkg/distr/DESCRIPTION	2023-05-07 12:46:37 UTC (rev 1403)
+++ branches/distr-2.9/pkg/distr/DESCRIPTION	2023-05-07 12:47:32 UTC (rev 1404)
@@ -1,5 +1,5 @@
 Package: distr
-Version: 2.9.2
+Version: 2.9.3
 Date: 2022-11-14
 Title: Object Oriented Implementation of Distributions
 Description: S4-classes and methods for distributions.
@@ -13,6 +13,7 @@
 Depends: R(>= 3.4), methods, graphics, startupmsg, sfsmisc
 Suggests: distrEx, svUnit (>= 0.7-11), knitr, distrMod, ROptEst
 Imports: stats, grDevices, utils, MASS
+Enhances: RobAStBase
 VignetteBuilder: knitr
 ByteCompile: yes
 Encoding: latin1

Modified: branches/distr-2.9/pkg/distr/inst/NEWS
===================================================================
--- branches/distr-2.9/pkg/distr/inst/NEWS	2023-05-07 12:46:37 UTC (rev 1403)
+++ branches/distr-2.9/pkg/distr/inst/NEWS	2023-05-07 12:47:32 UTC (rev 1404)
@@ -8,6 +8,13 @@
  information)
  
 ##############
+v 2.9.2
+##############
+under the hood:
++ included pkg RobAStBase into "Enhances" in the DESCRIPTION file
++ moved some code in the help to RtoDPQ.d relying on the RNG into IGNORE_RDIFF 
+
+##############
 v 2.9
 ##############
 

Modified: branches/distr-2.9/pkg/distr/man/RtoDPQ.LC.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/RtoDPQ.LC.Rd	2023-05-07 12:46:37 UTC (rev 1403)
+++ branches/distr-2.9/pkg/distr/man/RtoDPQ.LC.Rd	2023-05-07 12:47:32 UTC (rev 1404)
@@ -43,12 +43,15 @@
 \code{\link{approxfun}}, 
 \code{\link{ecdf}}}
 \examples{
+set.seed(20230508)
 rn2 <- function(n)ifelse(rbinom(n,1,0.3),rnorm(n)^2,rbinom(n,4,.3))
 x <- RtoDPQ.LC(r = rn2, e = 4, n = 512)
 plot(x)
 # returns density, cumulative distribution and quantile function of
 # squared standard normal distribution
+## IGNORE_RDIFF_BEGIN
 d.discrete(x)(4)
+## IGNORE_RDIFF_END
 x2 <- RtoDPQ.LC(r = rn2, e = 5, n = 1024) # for a better result
 plot(x2)
 }

Modified: branches/distr-2.9/pkg/distr/man/RtoDPQ.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/RtoDPQ.Rd	2023-05-07 12:46:37 UTC (rev 1403)
+++ branches/distr-2.9/pkg/distr/man/RtoDPQ.Rd	2023-05-07 12:47:32 UTC (rev 1404)
@@ -44,12 +44,13 @@
 \code{\link{approxfun}}, 
 \code{\link{ecdf}}}
 \examples{
+set.seed(20230508)
 rn2 <- function(n){rnorm(n)^2}
 x <- RtoDPQ(r = rn2, e = 4, n = 512)
 # returns density, cumulative distribution and quantile function of
 # squared standard normal distribution
+## IGNORE_RDIFF_BEGIN
 x$dfun(4)
-## IGNORE_RDIFF_BEGIN
 RtoDPQ(r = rn2, e = 5, n = 1024) # for a better result
 ## IGNORE_RDIFF_END
 

Modified: branches/distr-2.9/pkg/distr/man/RtoDPQ.d.Rd
===================================================================
--- branches/distr-2.9/pkg/distr/man/RtoDPQ.d.Rd	2023-05-07 12:46:37 UTC (rev 1403)
+++ branches/distr-2.9/pkg/distr/man/RtoDPQ.d.Rd	2023-05-07 12:47:32 UTC (rev 1404)
@@ -37,13 +37,14 @@
 \code{\link{approxfun}}, 
 \code{\link{ecdf}}}
 \examples{
+set.seed(20230508)
 rn2 <- function(n){rnorm(n)^2}
 x <- RtoDPQ(r = rn2, e = 4, n = 512)
 # returns density, cumulative distribution and quantile function of
 # squared standard  normal distribution
 
+## IGNORE_RDIFF_BEGIN
 x$dfun(4)
-## IGNORE_RDIFF_BEGIN
 RtoDPQ(r = rn2, e = 5, n = 1024) # for a better result
 ## IGNORE_RDIFF_END
 



More information about the Distr-commits mailing list