Skip to content
Prev 43892 / 398528 Next

substitute, eval, quote and functions

Peter Dalgaard <p.dalgaard at biostat.ku.dk> writes:
...On the other hand, come to think of it, there's quite a lot to be
said for just doing

   plot(data[[x]], data[[y]], xlab=x, ylab=y) 

at least in the latter case. (The former has the advantage that you
can pass in entire expressions.)