Hello everyone,

This IFELSE function call is not working properly. I do not receive an error
message, but the actions are not executed conditional as I was hoping. Any
assistance is appreciated.

set.seed(12345)
res1<-rbinom(10000,1,.1)
rdata3<-transform(data.frame(res1),input1=rnorm(10000,50,10))
data3
#inducing correlation between res1 & input1
ifelse(data3$res1==1,data3$input1<-data3$input1+10,data3$input1<-data3$input1)
data3

Thank you,

Dan

	[[alternative HTML version deleted]]

