[R] inverted axis
Juhana Vartiainen
juhana.vartiainen at labour.fi
Wed Mar 20 08:41:04 CET 2002
Hello everybody!
Spse I have the following
X <- seq(1:100) #(a dim(100) sequence of integers 1:100 representing
the possible actions of player 1 and player2 in a game)
BR2X<- br2(X) #(a dim(100) sequence of points on range (1,100)
representing the best response function of player 2 to player 1:s
actions)
BR1X<- br1(X) #(a dim(100) sequence of points on range (1,100)
representing the best response function of player 1 to player 2:s
actions)
To illustrate Nash equilibrium , I would like to plot these in the same
picture, with inverted axes, so that
(X,BR2) is plotted with X on horizontal and BR2 on vertical axis
(X, BR1) is plotted with X on vertical axis and BR1 on horizontal axis.
How can I do that ?
Juhana Vartiainen
juhana.vartiainen at labour.fi
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list