search for: equation2

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

Did you mean: equation
2011 Feb 10
3
help - "the condition has length > 1 and only the first element will be used"
Hello there, I don't know if I'm addressing my question to the right e-mail address, I hope I do. Actually I have a little problem concerning writing a code in R. I try to briefly sum up my problem. As you can see below, I created the functions "Equation1" and "Equation2" with some conditions. Equation1 <-function(x){ if (x<=0.25) y <-1-4*x if (x>0.25) y <-0 y } Equation2 <-function(x){...