search for: p_unadj

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

2010 Mar 17
3
Are loops handled differently in newer versions of R?
...orks fine in R version 2.8 on my mac, worked fine in version 2.8 on my old windows machine, but doesn't work in version 2.10 on windows. The loop implements a function over a data frame (code is included below). In Mac (running version 2.8), the results of the loop are what I expect: > p_unadj [1] 0.034939481 0.015743706 0.089287030 0.001098538 0.039290594 But in Windows (running version 2.10.1), I get a bunch of NA's... > p_unadj A B C D E NA NA NA NA NA If I had to guess, I'd say that R v. 2.10 is handling the i in lab8.dat[,1] differently, given that it&...