Re: [R] Error : unused arguments in pairs()

2009-01-06 Thread herwig
Dear Sarah, Thank you a lot, It does exactly what I need. By the way, I tried doing what Prof. Ripley suggested I just was not able to get it right - I am pretty new to this after all. Thank again, Herwig Sarah Goslee wrote: You didn't do what Prof. Ripley suggested - adding a ...

Re: [R] Error : unused arguments in pairs()

2009-01-05 Thread Prof Brian Ripley
Your panel function should have a ... argument: see the help page for pairs(). Since your example is not 'self-contained' I cannot test this out On Sun, 4 Jan 2009, herwig wrote: Hi there, I am just starting in R and this might be a very basic question. I applied one on the examples

Re: [R] Error : unused arguments in pairs()

2009-01-05 Thread herwig
Dear Prof. Ripley, thanks for your reply. Unfortunately I still was not able to solve the problem. I tried it with the Iris data and you can find the code below: panel.cor - function(x, y, digits=2, prefix=, cex.cor) { usr - par(usr); on.exit(par(usr)) par(usr = c(0, 1, 0, 1))