Displaying 4 results from an estimated 4 matches for "rpsort".
Did you mean:
rport
2011 Apr 19
2
Robustbase source question
Dear All,
in the sources of robustbase, there appears a function called rPsort()
(say l253 of qn_sn.c). I could not find its source in the robustbase
package and a google search yields too many unrelated response.
Can anyone point to its source ?
thanks,
--
View this message in context: http://r.789695.n4.nabble.com/Robustbase-source-question-tp3459966p3459966.html
Sent...
2011 Apr 21
0
C source code question (Robustbase edition)
...= right[i]; ++jj) {
work[j] = y[i] - y[n - jj];
j++;
}/* j will be = sum_{i=2}^n (right[i] - left[i] + 1)_{+} */
}
#ifdef DEBUG_qn
REprintf(" of length %d; knew-nl=%d\n", j, knew-nl);
#endif
/* return pull(work, j - 1, knew - nl) : */
knew -= (nl + 1); /* -1: 0-indexing */
rPsort(work, j, knew);
return(work[knew]);
}
} /* qn0 */
double qn(double *x, int n, int p0, int finite_corr)
{
/* Efficient algorithm for the scale estimator:
Qn = dn * 2.2219 * {|x_i-x_j|; i<j}_(k)
*/
double r, dn = 1./*-Wall*/;
r = 2.2219 * qn0(x, n, p0); /* asymptotic consisten...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...src/librar
y/lqs'
make[4]: Entering directory `/mn/vega/astro/local/src/rstat/R-0.63.3/src/librar
y/lqs/src'
gcc -ieee_with_inexact -g -I../../../../include -c lqs.c -o lqs.o
ld -shared -lm -o lqs.so lqs.o
ld:
Warning: Unresolved:
unif_rand
calloc
free
R_PosInf
seed_in
dqrdc2_
dqrsl_
rsort
rPsort
sqrt
seed_out
log
__exc_add_pc_range_table
__exc_add_gp_range
__exc_remove_pc_range_table
__exc_remove_gp_range
make[4]: Leaving directory `/mn/vega/astro/local/src/rstat/R-0.63.3/src/library
/lqs/src'
make[3]: Leaving directory `/mn/vega/astro/local/src/rstat/R-0.63.3/src/library
/lqs'
mak...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...=
librar
y/lqs'
make[4]: Entering directory `/mn/vega/astro/local/src/rstat/R-0.63.3/src/=
librar
y/lqs/src'
gcc -ieee_with_inexact -g -I../../../../include -c lqs.c -o lqs.o
ld -shared -lm -o lqs.so lqs.o
ld:
Warning: Unresolved:
unif_rand
calloc
free
R_PosInf
seed_in
dqrdc2_
dqrsl_
rsort
rPsort
sqrt
seed_out
log
__exc_add_pc_range_table
__exc_add_gp_range
__exc_remove_pc_range_table
__exc_remove_gp_range
make[4]: Leaving directory `/mn/vega/astro/local/src/rstat/R-0.63.3/src/l=
ibrary
/lqs/src'
make[3]: Leaving directory `/mn/vega/astro/local/src/rstat/R-0.63.3/src/l=
ibrary
/lqs'...