search for: n_c

Displaying 3 results from an estimated 3 matches for "n_c".

Did you mean: _c
2007 Mar 03
0
2 bugs in max.col() (PR#9542)
...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 and find the small...
2018 Feb 02
1
R-gui sessions end when executing C-code
...r) { int n_prot = 0; /* Make ready integer and double constants */ PROTECT(N); n_prot++; PROTECT(H); n_prot++; PROTECT(K); n_prot++; int N_c = asInteger(N); int H_c = asInteger(H); int K_c = asInteger(K); double mu_c = asReal(mu); double mu2_c = 1.0 - mu_c; double error_c = asReal(err);...
2011 Jul 27
1
Converting F-value from ANOVA to cohen's d in meta-analysis (metafor-package)
Dear R-experts! Running a meta-analysis (using the magnificent metafor-package), I use cohen's d as a main outcome measure in a random-effects model. For most of the samples cohen's d is derived form a comparison of two groups (A & B). However some studies report results from an ANOVA (one-factor with three levels: C,D,E) whereas two groups (C,D) correspond to one group in the other