[Distr-commits] r1459 - in branches/distr-2.9/pkg/distrEx: . inst man tests/Examples
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 29 18:25:22 CEST 2024
Author: ruckdeschel
Date: 2024-08-29 18:25:21 +0200 (Thu, 29 Aug 2024)
New Revision: 1459
Modified:
branches/distr-2.9/pkg/distrEx/DESCRIPTION
branches/distr-2.9/pkg/distrEx/inst/NEWS
branches/distr-2.9/pkg/distrEx/man/0distrEx-package.Rd
branches/distr-2.9/pkg/distrEx/man/EmpiricalMVDistribution.Rd
branches/distr-2.9/pkg/distrEx/man/distrExMASK.Rd
branches/distr-2.9/pkg/distrEx/man/distrExMOVED.Rd
branches/distr-2.9/pkg/distrEx/tests/Examples/distrEx-Ex.Rout.save
Log:
[distrEx] ported changes from trunk to devel branch distr-2.9
Modified: branches/distr-2.9/pkg/distrEx/DESCRIPTION
===================================================================
--- branches/distr-2.9/pkg/distrEx/DESCRIPTION 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/DESCRIPTION 2024-08-29 16:25:21 UTC (rev 1459)
@@ -1,6 +1,6 @@
Package: distrEx
-Version: 2.9.4
-Date: 2023-11-27
+Version: 2.9.6
+Date: 2024-08-29
Title: Extensions of Package 'distr'
Description: Extends package 'distr' by functionals, distances, and conditional distributions.
Depends: R(>= 3.4), methods, distr(>= 2.8.0)
Modified: branches/distr-2.9/pkg/distrEx/inst/NEWS
===================================================================
--- branches/distr-2.9/pkg/distrEx/inst/NEWS 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/inst/NEWS 2024-08-29 16:25:21 UTC (rev 1459)
@@ -8,6 +8,16 @@
information)
##############
+v 2.9.4
+##############
+
+under the hood:
+with the help of K. Hornik identified spurious, platform dependent LF/CR issue
+and capsulated calls to infoShow() in Rd files by
+## IGNORE_RDIFF_BEGIN
+## IGNORE_RDIFF_END
+
+##############
v 2.9.3
##############
Modified: branches/distr-2.9/pkg/distrEx/man/0distrEx-package.Rd
===================================================================
--- branches/distr-2.9/pkg/distrEx/man/0distrEx-package.Rd 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/man/0distrEx-package.Rd 2024-08-29 16:25:21 UTC (rev 1459)
@@ -27,8 +27,8 @@
\details{
\tabular{ll}{
Package: \tab distrEx \cr
-Version: \tab 2.9.0 \cr
-Date: \tab 2019-03-13 \cr
+Version: \tab 2.9.6 \cr
+Date: \tab 2024-08-29 \cr
Depends: \tab R(>= 3.4), methods, distr(>= 2.8.0) \cr
Imports: \tab startupmsg, utils, stats \cr
Suggests: \tab tcltk \cr
@@ -35,7 +35,7 @@
LazyLoad: \tab yes \cr
License: \tab LGPL-3 \cr
URL: \tab https://r-forge.r-project.org/projects/distr/\cr
-VCS/SVNRevision: \tab 1324 \cr
+VCS/SVNRevision: \tab 1454 \cr
}
}
\section{Classes}{
Modified: branches/distr-2.9/pkg/distrEx/man/EmpiricalMVDistribution.Rd
===================================================================
--- branches/distr-2.9/pkg/distrEx/man/EmpiricalMVDistribution.Rd 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/man/EmpiricalMVDistribution.Rd 2024-08-29 16:25:21 UTC (rev 1459)
@@ -1,49 +1,49 @@
-\name{EmpiricalMVDistribution}
-\alias{EmpiricalMVDistribution}
-
-\title{Generating function for mulitvariate discrete distribution}
-\description{
- Generates an object of class \code{"DiscreteMVDistribution"}.
-}
-\usage{
-EmpiricalMVDistribution(data, Symmetry = NoSymmetry())
-}
-\arguments{
- \item{data}{ numeric matrix with data where the rows are
- interpreted as observations. }
- \item{Symmetry}{you may help \R in calculations if you tell it whether
- the distribution is non-symmetric (default) or symmetric with respect
- to a center.}
-}
-\details{
- The function is a simple utility function providing a wrapper to the
- generating function \code{\link{DiscreteDistribution}}.
-
- Typical usages are
- \preformatted{
- EmpiricalMVDistribution(data)
- }
-
- Identical rows are collapsed to unique support values.
- If \code{prob} is missing, all elements in \code{supp}
- are equally weighted.
-}
-\value{Object of class \code{"DiscreteMVDistribution"}}
-%\references{}
-\author{Matthias Kohl \email{Matthias.Kohl at stamats.de}}
-%\note{}
-\seealso{\code{\link{DiscreteMVDistribution}}}
-\examples{
-## generate some data
-X <- matrix(rnorm(50), ncol = 5)
-
-## empirical distribution of X
-D1 <- EmpiricalMVDistribution(data = X)
-support(D1)
-r(D1)(10)
-}
-\concept{multivariate distribution}
-\concept{empirical distribution}
-\keyword{distribution}
-\concept{S4 distribution class}
-\concept{generating function}
+\name{EmpiricalMVDistribution}
+\alias{EmpiricalMVDistribution}
+
+\title{Generating function for mulitvariate discrete distribution}
+\description{
+ Generates an object of class \code{"DiscreteMVDistribution"}.
+}
+\usage{
+EmpiricalMVDistribution(data, Symmetry = NoSymmetry())
+}
+\arguments{
+ \item{data}{ numeric matrix with data where the rows are
+ interpreted as observations. }
+ \item{Symmetry}{you may help \R in calculations if you tell it whether
+ the distribution is non-symmetric (default) or symmetric with respect
+ to a center.}
+}
+\details{
+ The function is a simple utility function providing a wrapper to the
+ generating function \code{\link{DiscreteMVDistribution}}.
+
+ Typical usages are
+ \preformatted{
+ EmpiricalMVDistribution(data)
+ }
+
+ Identical rows are collapsed to unique support values.
+ If \code{prob} is missing, all elements in \code{supp}
+ are equally weighted.
+}
+\value{Object of class \code{"DiscreteMVDistribution"}}
+%\references{}
+\author{Matthias Kohl \email{Matthias.Kohl at stamats.de}}
+%\note{}
+\seealso{\code{\link{DiscreteMVDistribution}}}
+\examples{
+## generate some data
+X <- matrix(rnorm(50), ncol = 5)
+
+## empirical distribution of X
+D1 <- EmpiricalMVDistribution(data = X)
+support(D1)
+r(D1)(10)
+}
+\concept{multivariate distribution}
+\concept{empirical distribution}
+\keyword{distribution}
+\concept{S4 distribution class}
+\concept{generating function}
Modified: branches/distr-2.9/pkg/distrEx/man/distrExMASK.Rd
===================================================================
--- branches/distr-2.9/pkg/distrEx/man/distrExMASK.Rd 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/man/distrExMASK.Rd 2024-08-29 16:25:21 UTC (rev 1459)
@@ -18,7 +18,9 @@
\author{Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de}}
\examples{
+## IGNORE_RDIFF_BEGIN
distrExMASK()
+## IGNORE_RDIFF_END
}
\keyword{programming}
\keyword{distribution}
Modified: branches/distr-2.9/pkg/distrEx/man/distrExMOVED.Rd
===================================================================
--- branches/distr-2.9/pkg/distrEx/man/distrExMOVED.Rd 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/man/distrExMOVED.Rd 2024-08-29 16:25:21 UTC (rev 1459)
@@ -18,7 +18,9 @@
\author{Peter Ruckdeschel \email{peter.ruckdeschel at uni-oldenburg.de}}
\examples{
+## IGNORE_RDIFF_BEGIN
distrExMOVED()
+## IGNORE_RDIFF_END
}
\keyword{programming}
\keyword{distribution}
Modified: branches/distr-2.9/pkg/distrEx/tests/Examples/distrEx-Ex.Rout.save
===================================================================
--- branches/distr-2.9/pkg/distrEx/tests/Examples/distrEx-Ex.Rout.save 2024-08-29 16:21:37 UTC (rev 1458)
+++ branches/distr-2.9/pkg/distrEx/tests/Examples/distrEx-Ex.Rout.save 2024-08-29 16:25:21 UTC (rev 1459)
@@ -24,7 +24,7 @@
> library('distrEx')
Loading required package: distr
Loading required package: startupmsg
-:startupmsg> Utilities for Start-Up Messages (version 0.9.6.1)
+:startupmsg> Utilities for Start-Up Messages (version 0.9.7)
:startupmsg>
:startupmsg> For more information see ?"startupmsg",
:startupmsg> NEWS("startupmsg")
@@ -56,7 +56,7 @@
df, qqplot, sd
-:distrEx> Extensions of Package 'distr' (version 2.9.3)
+:distrEx> Extensions of Package 'distr' (version 2.9.5)
:distrEx>
:distrEx> Note: Packages "e1071", "moments", "fBasics" should be
:distrEx> attached /before/ package "distrEx". See
@@ -835,7 +835,7 @@
}
0 + cond %*% 1 + 1 * r(n, ...)
}
-<environment: 0x00000262e422b858>
+<environment: 0x000002d8ff034198>
> d(D1)
function (x, cond, log = FALSE, ...)
{
@@ -857,7 +857,7 @@
else d0 <- d0/1
return(d0)
}
-<environment: 0x00000262e422b858>
+<environment: 0x000002d8ff034198>
> p(D1)
function (q, cond, lower.tail = TRUE, log.p = FALSE, ...)
{
@@ -884,7 +884,7 @@
p0 <- log(p0)
return(p0)
}
-<environment: 0x00000262e422b858>
+<environment: 0x000002d8ff034198>
> q(D1)
function (p, cond, lower.tail = TRUE, log.p = FALSE, ...)
{
@@ -908,7 +908,7 @@
argList <- c(argList, dots)
1 * do.call(q, argList) + 0 + as.vector(cond %*% 1)
}
-<environment: 0x00000262e422b858>
+<environment: 0x000002d8ff034198>
> ## in RStudio or Jupyter IRKernel, use q.l(.)(.) instead of q(.)(.)
> param(D1)
name: parameter of a linear regression model
@@ -1354,6 +1354,7 @@
>
> ### ** Examples
>
+> ## IGNORE_RDIFF_BEGIN
> distrExMASK()
######################################################################
# On masking of and by other functions in package "distrEx"
@@ -1396,6 +1397,7 @@
kurtosis <- distrEx::kurtosis
skewness <- distrEx::skewness
+> ## IGNORE_RDIFF_END
>
>
>
@@ -1412,6 +1414,7 @@
>
> ### ** Examples
>
+> ## IGNORE_RDIFF_BEGIN
> distrExMOVED()
#############################################################################
# On moving of functionality from package "distrEx" to package "RobExtremes"
@@ -1427,6 +1430,7 @@
To keep using this functionality install and load/attach package
"RobExtremes".
+> ## IGNORE_RDIFF_END
>
>
>
@@ -1635,7 +1639,7 @@
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
-Time elapsed: 8.72 0.42 9.28 NA NA
+Time elapsed: 7.16 0.44 8.17 NA NA
> grDevices::dev.off()
null device
1
More information about the Distr-commits
mailing list