Re: [R] Ellipsis arguments for plot.formula

2008-07-11 Thread Amit Ganatra
Perfect, thank you. --- On Fri, 7/11/08, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > From: Gabor Grothendieck <[EMAIL PROTECTED]> > Subject: Re: [R] Ellipsis arguments for plot.formula > To: [EMAIL PROTECTED] > Cc: r-help@r-project.org > Date: Friday, July 11

Re: [R] Ellipsis arguments for plot.formula

2008-07-11 Thread Gabor Grothendieck
to find all the names in that argument and not just the names that > appear in the formula. > > > --- On Fri, 7/11/08, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > >> From: Gabor Grothendieck <[EMAIL PROTECTED]> >> Subject: Re: [R] Ellipsis arguments for plot.fo

Re: [R] Ellipsis arguments for plot.formula

2008-07-11 Thread Amit Ganatra
s up only when you use a > formula as an argument, hence the suspicion that the > behavior was unintended. > > > > > > --- On Thu, 7/10/08, Bert Gunter > <[EMAIL PROTECTED]> wrote: > > > >> From: Bert Gunter <[EMAIL PROTECTED]> > >> Subje

Re: [R] Ellipsis arguments for plot.formula

2008-07-11 Thread Gabor Grothendieck
main.str ), it works fine. The > problem turns up only when you use a formula as an argument, hence the > suspicion that the behavior was unintended. > > > --- On Thu, 7/10/08, Bert Gunter <[EMAIL PROTECTED]> wrote: > >> From: Bert Gunter <[EMAIL PROTECTED]> >

Re: [R] Ellipsis arguments for plot.formula

2008-07-11 Thread Amit Ganatra
<[EMAIL PROTECTED]> wrote: > From: Bert Gunter <[EMAIL PROTECTED]> > Subject: RE: [R] Ellipsis arguments for plot.formula > To: [EMAIL PROTECTED] > Cc: r-help@r-project.org > Date: Thursday, July 10, 2008, 5:10 PM > I think it's rather presumptuous of you to ask

Re: [R] Ellipsis arguments for plot.formula

2008-07-10 Thread Bert Gunter
nal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amit Ganatra Sent: Thursday, July 10, 2008 11:51 AM To: r-help@r-project.org Subject: [R] Ellipsis arguments for plot.formula Hi: I have a function as follows: my.plot<- function( x, y = NULL, ... ) { plo

[R] Ellipsis arguments for plot.formula

2008-07-10 Thread Amit Ganatra
Hi: I have a function as follows: my.plot<- function( x, y = NULL, ... ) { plot( x, y, cex.axis=0.5, ...) } Set up the variables: x <- 1:10; y <- x; tdf <- data.frame( x, y ); main.str <- "test" I will exercise the function in two ways: > my.plot( y ~ x, tdf, main = "test" ) This works fi