| 1 |
* R/mona.q: |
| 2 |
|
| 3 |
Replace |
| 4 |
if(!is.matrix(x)) |
| 5 |
stop(message = "x is not a matrix.") |
| 6 |
by |
| 7 |
if(!is.matrix(x) && !is.data.frame(x)) |
| 8 |
stop("x must be a matrix or data frame.") |
| 9 |
|
| 10 |
Comment |
| 11 |
x2 <- paste(x2, collapse = "") |
| 12 |
and replace |
| 13 |
storage.mode(x2) <- "character" |
| 14 |
by |
| 15 |
storage.mode(x2) <- "integer" |
| 16 |
|
| 17 |
* R/plothier.q: |
| 18 |
|
| 19 |
Replace `pick <- 2' by `pick <- 3'. |
| 20 |
(Undo when plclust is available.) -- undone for version 1.3-2 |
| 21 |
|
| 22 |
Replace |
| 23 |
invisible(return(x)) |
| 24 |
by |
| 25 |
return(invisible(x)) |
| 26 |
|
| 27 |
* R/plotpart.q: |
| 28 |
|
| 29 |
Replace |
| 30 |
invisible(return(x)) |
| 31 |
by |
| 32 |
return(invisible(x)) |
| 33 |
|
| 34 |
Replace `pick <- 2' by `pick <- 4'. |
| 35 |
(Undo when clusplots really work.) |
| 36 |
|
| 37 |
In code for clusplot.default(), remove cmd() and replace |
| 38 |
x1 <- cmd(x, k = 2, eig = T, add = T) |
| 39 |
if(x1$ac < 0) |
| 40 |
x1 <- cmd(x, k = 2, eig = T) |
| 41 |
by |
| 42 |
x1 <- cmdscale(x, k = 2, eig = T) |
| 43 |
(Unfix when we have the `add' argument to cmdscale().) |
| 44 |
|
| 45 |
Replace `rep.int' by `rep'. |
| 46 |
|
| 47 |
Replace `text.default' by `text'. |
| 48 |
|
| 49 |
* R/zzz.R: |
| 50 |
Add |
| 51 |
.First.lib <- function(lib, pkg) { |
| 52 |
require(mva) |
| 53 |
library.dynam("cluster", pkg, lib) |
| 54 |
assign("plclust", .Alias(plot.hclust), pos = "package:cluster") |
| 55 |
} |
| 56 |
|
| 57 |
* src/mona.f: |
| 58 |
Replace |
| 59 |
CHARACTER KX(NN,JPP),NZF |
| 60 |
by |
| 61 |
INTEGER KX(NN,JPP),NZF |
| 62 |
Change all '0' to 0. |
| 63 |
Change all '1' to 1. |
| 64 |
|
| 65 |
* R/daisy.q: |
| 66 |
* src/daisy.f: |
| 67 |
|
| 68 |
(BDR) Rewrite to pass integers rather than C character strings to |
| 69 |
Fortran. |
| 70 |
|
| 71 |
************************************************************************ |
| 72 |
|
| 73 |
The directory `man' contains R documentation sources converted via |
| 74 |
`Sd2Rd -x' from the S documentation sources. (In earlier versions, it |
| 75 |
was helpful to run `.CONV/FIXME.pl' before converting.) |
| 76 |
|
| 77 |
* man/fanny.Rd: |
| 78 |
Replace the displayed equation by |
| 79 |
\deqn{\sum_{v=1}^k |
| 80 |
\frac{\sum_{i=1}^n\sum_{j=1}^n u_{iv}^2 u_{jv}^2 d(i,j)}{ |
| 81 |
2 \sum_{j=1}^n u_{jv}^2}}{ |
| 82 |
SUM_v (SUM_(i,j) u(i,v)^2 u(j,v)^2 d(i,j)) / (2 SUM_j u(j,v)^2)} |
| 83 |
|
| 84 |
All examples hand-edited! |
| 85 |
|
| 86 |
************************************************************************ |
| 87 |
|
| 88 |
============== Martin Maechler (many things are in Changelog!) =========== |
| 89 |
|
| 90 |
src/clara.f : |
| 91 |
~~~~~~~~~~~ |
| 92 |
|
| 93 |
*) to lowercase only : |
| 94 |
|
| 95 |
tr A-Z a-z < clara.f.~1~ > clara.f.~2~ |
| 96 |
|
| 97 |
1) to lowercase |
| 98 |
and change initial comments to 'c' (because of Emacs' indentation): |
| 99 |
|
| 100 |
tr A-Z a-z < clara.f.~1~ | sed '/^cc/s//c/'> clara.f.~2~ |
| 101 |
|
| 102 |
2) Inside Emacs of clara.f.~2~ |
| 103 |
|
| 104 |
C-x C-w (write-file "clara.f.~3~") |
| 105 |
|
| 106 |
Repeat about 6 times |
| 107 |
M-C-q (fortran-indent-subprogram) |
| 108 |
M-C-e (end-of-fortran-subprogram) |
| 109 |
|
| 110 |
M-> (end-of-buffer) |
| 111 |
C-x C-o (delete-blank-lines) |
| 112 |
|
| 113 |
C-x h (mark-whole-buffer) |
| 114 |
M-x tabify (tabify (point-min) (point-max)) |