Displaying 2 results from an estimated 2 matches for "rplain".
Did you mean:
plain
2006 Dec 16
1
max.col oddity
...line 35 in R 2.4.0).
Is this necessary for some sort of S-plus compatibility? If so, I
think it would be good to make this absolute value property very clear
in the docs, since it can cause subtle bugs (and did for me).
Personally, I think the behavior is much nicer with the following patch:
--- rplain/R-2.4.0/src/appl/maxcol.c 2006-04-09 18:19:58.000000000 -0400
+++ R-2.4.0/src/appl/maxcol.c 2006-12-14 15:30:56.000000000 -0500
@@ -26,13 +26,14 @@
do_rand = *ties_meth == 1;
for (r = 0; r < n_r; r++) {
- /* first check row for any NAs and find the largest abs(entry) */
+...
2006 Dec 14
0
max.col: bug or just oddity?
...line 35 in R 2.4.0).
Is this necessary for some sort of S-plus compatibility? If so, I
think it would be good to make this absolute value property very clear
in the docs, since it can cause subtle bugs (and did for me).
Personally, I think the behavior is much nicer with the following patch:
--- rplain/R-2.4.0/src/appl/maxcol.c 2006-04-09 18:19:58.000000000 -0400
+++ R-2.4.0/src/appl/maxcol.c 2006-12-14 15:30:56.000000000 -0500
@@ -26,13 +26,14 @@
do_rand = *ties_meth == 1;
for (r = 0; r < n_r; r++) {
- /* first check row for any NAs and find the largest abs(entry) */...