diff --git a/DESCRIPTION b/DESCRIPTION index d052989..25208d4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: MASS Priority: recommended -Version: 7.3-50 -Date: 2018-04-17 -Revision: $Rev: 3487 $ +Version: 7.3-51 +Date: 2018-10-16 +Revision: $Rev: 3490 $ Depends: R (>= 3.1.0), grDevices, graphics, stats, utils Imports: methods Suggests: lattice, nlme, nnet, survival @@ -24,7 +24,7 @@ License: GPL-2 | GPL-3 URL: http://www.stats.ox.ac.uk/pub/MASS4/ Contact: NeedsCompilation: yes -Packaged: 2018-04-18 15:35:07 UTC; ripley +Packaged: 2018-10-16 10:15:23 UTC; ripley Author: Brian Ripley [aut, cre, cph], Bill Venables [ctb], Douglas M. Bates [ctb], @@ -33,4 +33,4 @@ Author: Brian Ripley [aut, cre, cph], David Firth [ctb] Maintainer: Brian Ripley Repository: CRAN -Date/Publication: 2018-04-30 08:20:14 UTC +Date/Publication: 2018-10-16 10:18:19 UTC diff --git a/MD5 b/MD5 index 820a285..d637f0e 100644 --- a/MD5 +++ b/MD5 @@ -1,4 +1,4 @@ -312b49877a28f8f126e0bb35f39aa722 *DESCRIPTION +10f0406cb2932f8dd2f590a4a8ef914d *DESCRIPTION 35aff05a505ecf7e81e0473767794ca9 *INDEX e0d1ab11f24f7e3ff569541429d65825 *LICENCE.note 0ac7b30ad35a4c19ea69d76a6a366b02 *NAMESPACE @@ -159,7 +159,7 @@ caebd3270cdb7268117f8a5a0cddd7be *inst/scripts/ch15.R 1b78ed518f4fbf6ed3704b0a8463715b *man/Aids2.Rd d5b9cf75996ccdc90872d49b2f87cae5 *man/Animals.Rd 6a7a598f4cb667af6b8dc886b520696a *man/Boston.Rd -007bf68c391f1085d20270d42b22fba4 *man/Cars93.Rd +bfb83f6da9afe19178dd0ac7d2cea9bb *man/Cars93.Rd e1cc4debb9ba4982b2a78864d03bf5d7 *man/Cushings.Rd 5e497af7fdc9b4d6b7e771f3839a0c4e *man/DDT.Rd fc4ebf60ca33228804e86cd08ee7b990 *man/GAGurine.Rd @@ -227,7 +227,7 @@ c1c0977e3730dcc6340a845b0509dff7 *man/gamma.shape.glm.Rd d705175d2d756430ab571ee1c5253118 *man/genotype.Rd 353d48920fe6e849fb2e0a757d277901 *man/geyser.Rd a81ca88a2a39298dd099c015fdd3c167 *man/gilgais.Rd -f484f91e53e72fc672f2d5edd507a768 *man/ginv.Rd +cd1607060ff90b41e5fd22b3b058d5e9 *man/ginv.Rd 67ac548358fe00a107e17c7101fb4552 *man/glm.convert.Rd 68625209b126bf126b0a7cad4e6c5508 *man/glm.nb.Rd 704eb4028483dc8fe035bcece0ba9d8c *man/glmmPQL.Rd @@ -320,7 +320,7 @@ f7b3d8066e652947494ab6d4fca93b0e *po/R-pl.po a79fc62d284fd106014fc6176155245a *src/MASS.c 6e5f48c7ce8b734c48cf01616813acb0 *src/lqs.c 7b1360150b8598b576e82534b12345a2 *tests/BankWages.rda -921f8fb41cc756f4541006e473fe5230 *tests/Examples/MASS-Ex.Rout.save +28d5d41e433c22b5e66e2c626ead8daa *tests/Examples/MASS-Ex.Rout.save d87553db40364fdc9c337fa31c009b17 *tests/confint.R a0854fee9b36691ca1d0880da31d6f79 *tests/fitdistr.R 55c6f4de353b9479359459d2718a017e *tests/fitdistr.Rout.save diff --git a/man/Cars93.Rd b/man/Cars93.Rd index eaddd44..671ced5 100644 --- a/man/Cars93.Rd +++ b/man/Cars93.Rd @@ -1,5 +1,5 @@ % file MASS/man/Cars93.Rd -% copyright (C) 1994-9 W. N. Venables and B. D. Ripley +% copyright (C) 1994-2018 W. N. Venables and B. D. Ripley % \name{Cars93} \alias{Cars93} @@ -115,7 +115,8 @@ Cars93 1993 New Car Data. \emph{Journal of Statistics Education} \bold{1}(1). - \url{http://www.amstat.org/publications/jse/v1n1/datasets.lock.html}. + \url{ https://doi.org/10.1080/10691898.1993.11910459} +% \url{http://www.amstat.org/publications/jse/v1n1/datasets.lock.html}. } \references{ Venables, W. N. and Ripley, B. D. (1999) diff --git a/man/ginv.Rd b/man/ginv.Rd index 9ecd33b..9dcd494 100644 --- a/man/ginv.Rd +++ b/man/ginv.Rd @@ -1,5 +1,5 @@ % file MASS/man/ginv.Rd -% copyright (C) 1994-9 W. N. Venables and B. D. Ripley +% copyright (C) 1994-2018 W. N. Venables and B. D. Ripley % \name{ginv} \alias{ginv} @@ -31,19 +31,4 @@ A MP generalized inverse matrix for \code{X}. \seealso{ \code{\link{solve}}, \code{\link{svd}}, \code{\link{eigen}} } -\examples{ -\dontrun{ -# The function is currently defined as -function(X, tol = sqrt(.Machine$double.eps)) -{ -## Generalized Inverse of a Matrix - dnx <- dimnames(X) - if(is.null(dnx)) dnx <- vector("list", 2) - s <- svd(X) - nz <- s$d > tol * s$d[1] - structure( - if(any(nz)) s$v[, nz] \%*\% (t(s$u[, nz])/s$d[nz]) else X, - dimnames = dnx[2:1]) -} -}} \keyword{algebra} diff --git a/tests/Examples/MASS-Ex.Rout.save b/tests/Examples/MASS-Ex.Rout.save index c17ec7f..cc21493 100644 --- a/tests/Examples/MASS-Ex.Rout.save +++ b/tests/Examples/MASS-Ex.Rout.save @@ -1,5 +1,5 @@ -R Under development (unstable) (2018-04-16 r74611) -- "Unsuffered Consequences" +R Under development (unstable) (2018-10-13 r75435) -- "Unsuffered Consequences" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) @@ -2071,35 +2071,6 @@ Score (logrank) test = 17.25 on 1 df, p=3e-05 detaching ‘package:survival’ -> nameEx("ginv") -> ### * ginv -> -> flush(stderr()); flush(stdout()) -> -> ### Name: ginv -> ### Title: Generalized Inverse of a Matrix -> ### Aliases: ginv -> ### Keywords: algebra -> -> ### ** Examples -> -> ## Not run: -> ##D # The function is currently defined as -> ##D function(X, tol = sqrt(.Machine$double.eps)) -> ##D { -> ##D ## Generalized Inverse of a Matrix -> ##D dnx <- dimnames(X) -> ##D if(is.null(dnx)) dnx <- vector("list", 2) -> ##D s <- svd(X) -> ##D nz <- s$d > tol * s$d[1] -> ##D structure( -> ##D if(any(nz)) s$v[, nz] %*% (t(s$u[, nz])/s$d[nz]) else X, -> ##D dimnames = dnx[2:1]) -> ##D } -> ## End(Not run) -> -> -> cleanEx() > nameEx("glm.convert") > ### * glm.convert >