[R] Interactive plot using playwith() and abline

Christoph Scherber Christoph.Scherber at agr.uni-goettingen.de
Fri Jul 25 17:52:11 CEST 2008


Dear all,

Is it possible to use abline() after calling playwith(plot(...)))?

x=1:10
y=x^2

playwith(plot(x,y)) # works fine
playwith({abline(lm(y~x))}) # doesn?t work


Thanks!

Christoph



More information about the R-help mailing list