Displaying 2 results from an estimated 2 matches for "q_5".
Did you mean:
q35
2012 Oct 13
3
Replace column values in R conditional on values from different column
...in it, except for the
initial NAs. I think R somehow inserted 0 instead of NAs for the gender
values which were not supposed to be in that column (i.e. replaced values
for females with 0 in the male column) but I don't know why.
Thanks!!!!!
for(i in 1:length(Health2$CohenSum)){
if (Health2$q_5a[i]==1) Health2$CohenM[i] <- Health2$CohenSum[i]
else if (Health2$q_5a[i]==2) Health2$CohenF[i] <- Health2$CohenSum[i]
else Health2$CohenF[i] <- NA
}
--
View this message in context: http://r.789695.n4.nabble.com/Replace-column-values-in-R-conditional-on-values-from-different-colu...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...X9wGCsdiuZ<*%q8p5|c
z9^CJ>>TQZn8wzG?)@pvpCG;FCefw~^#koPcBTCA91=|em4>0t5tF5JVQ#@z5tZ+EH
z@(A%c{-&Xm at R)-85ltBY5ikPuZvArctOh5bY5lg^W84Tt79A=d2h&*rWRCcRJ$YHA
z_UWGIfKPtAWW at 0r$6?{TzHGQNt3)&(Q}HE)l_G$bN`M1<Ymm{8vmQPfJKObP6cL<u
zNee~l0Gm55G=aT0qP8E~D5Ki*pGUpaEu2*Cel=4kLtQ_5$%W{rk+--nYx)luw{T6h
z>rpFK$@*3~bR5a-yUM-zM~qvqI3uG!tf~IWyEZYWQsjjzv<iDHcxk#uTU5FC6MG*n
z5&QukLC&k%!Pfw_?jt5i`Yv*2`L)gyIKsR&D{yd^UNE6HmNuhbe?WdF(wNL}rJcU_
zfLi{pb>(IyF>@)t&H&y?h^iZq4C<oh_Go64lxT%lSoanuA#EW#Y=HF0 at qV=pL39mU
z<nbuEyL0R{a;>gNJA8+^lkBH_O`3P;KVX...