Displaying 2 results from an estimated 2 matches for "prh".
Did you mean:
pre
2010 Sep 27
1
make changes in existing vector with the apply function?
Hi, I'm trying to make some changes in a vector according to some conditions. It takes too long time however with vector length > 100000 and I guess a better way would be using the apply function. I cannot sort out how, however.
As a for/if loop:
for (i in 1:length(PrH)) {
if (is.finite(PrH[i]) == F & tempHER > tempSPR) {PrH[i] <- 1 }
if (is.finite(PrH[i]) == F & tempHER < tempSPR) {PrH[i] <- 0 }}
PrH, tempSPR and tempHER are equally long vectors.
Thanks in advance!Jonas
[[alternative HTML version deleted]]
2001 Nov 14
0
OPEN ssh pkg
...V!6FKC!)C-+HBQL3HQF<8
ML*ME]F;*.L-R at V;.T*&[=H>[\(**5-HPX22H"+HG!==S/BP5P6AH2GS1$G[E
M).?,X(<-[AT3COS,V,1XM4I:)L./FO.DPI188URBZUSN0[)!C]4SG%H.R:'\
MW#LL& [1]NH=IM0=G^/%*)%QTJ[VXIMK%[C1;\F1&91=H.=(?-?;%HQ\;>T7
MO,(7">QLZEN$@",2>9U3ZCZ,=T8]UCR$@#QON8)PRH 'G]U;8]*]<8ZNC78Q
MV^;1:[CID%F63R]+*,Q[&7.STV!F)P]V0OG4NT%X''BP at G3=M3E6Q.6 at Y1CQ
M*ZW\30Z"''T9%XF!1&G%$+Q4&R\-L;C3G\[#2^VC,:-'R,$:TRUOGZ4RY'QL
MPDY at 5*:A_.!0%V4 at UTEK' 228!"5.:,; GF/4C0Q0@>D/FW1$0BV ((6R&EI
M:%#0&$#0A2WZR0...