Displaying 1 result from an estimated 1 matches for "pctexec".
Did you mean:
cgexec
2012 Aug 31
2
Conditional merging in R & if then statement
...om detail a,
pdetail b
where a.TDATE=b.TDATE
and (a.STIM >= b.STIM and a.STIM <=b.MAXTIM)
2) when try if then in R it only applies to the 1st row & not to whole
dataset like in SAS. How do you get round that?
in SAS:
data summary;
set all1;
if entry='a:prop' then pctexec=stkful/stocks*100;
run;
Thanks in advance for your help.
--
View this message in context: http://r.789695.n4.nabble.com/Conditional-merging-in-R-if-then-statement-tp4641936.html
Sent from the R help mailing list archive at Nabble.com.