search for: ntie

Displaying 1 result from an estimated 1 matches for "ntie".

Did you mean: nie
2007 Mar 03
0
2 bugs in max.col() (PR#9542)
...h> /* ..RNGstate */ #include <R_ext/Applic.h> /* NA handling */ #include <R_ext/Utils.h> /* probably not needed */ #define RELTOL 1e-5 void R_row_maxwithindex_double( double *x , int *nr , int *nc , int *narm , int *index , int *tiesmethod ) { int r, c, m, ntie, n_r = *nr, n_c = *nc, na_rm = *narm, ties_method = *tiesmethod; double a = 0; // to avoid uninitialized compiler warning double b, tol, small, absa; Rboolean isna; if (ties_method==1) GetRNGstate(); for (r = 0; r < n_r; r++) { /* first check row for any NAs an...