simulating a non-linear relation

Hi all,
Can anybody help me with how to simulate a non-linear relation between two variables in R?
y=a*phi(y-x)+b,
where a and b are parameters with specific values such as a=0.1 and b=-0.2; Phi function is the cumulative density of a standard normal distribution.
I want to simulate the relation between y and x in R, x is the independent variable while y is the dependent variable.
Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.