try using `...` function <- function(x, ...) { #do stuff plot(xy, ...) }
On Thu, Jun 2, 2011 at 1:26 PM, eldor ado <rat.c...@gmail.com> wrote: > Hello, > > following problem: > > i have a written my own function to draw some sophisticated graphic, > which after manipulating data somewhere contains a plot comand > function <- function(x) { > ... > plot(xy) > } > > to tidy up my final graphs, it would be very handy to be able forward > all low-level graphic parameters set in function to plot > > i.e. > function(x, cex=0.5) calls plot (xy, cex=0.5) > > is there a way to do this? > > thanks a lot, > lukas kohl > department of chemical ecology > university of vienna > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- =============================================== Jon Daily Technician =============================================== #!/usr/bin/env outside # It's great, trust me. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.