Hi everyone, I want to write a wrapper function that uses the hist() function. Now I want to allow the hist breaks argument as optional in my function. So when my function contains the breaks argument I want the hist() function to use it, if not, I want the hist() function to use its default for breaks. How can I do that?
myFunction <- function(data, ...) # breaks= as optional here { hist(data, breaks=???) } TIA Mark ______________________________________________ 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.