Displaying 1 result from an estimated 1 matches for "smallst".
Did you mean:
smallest
2007 Mar 03
0
2 bugs in max.col() (PR#9542)
..., 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 and find the smallst entry */
small = R_PosInf;
if (na_rm){
isna = TRUE;
for (c = 0; c < n_c; c++){
a = x[r + c * n_r];
if (!ISNAN(a)) {
isna = FALSE;
absa = fabs(a);
if (absa<small && absa!=0)...