I can't help with your inquiry generally, but I can address the
issue of ``optional braces''.
On 16/10/2008, at 8:34 AM, Ted Byers wrote:
<snip>
I take it FUN = function(x, grp) quantile(x$DATA, names=FALSE) is the
function definition for a function called FUN. I would guess,
then, that
the opening and closing braces are optional. Is that correct?
Yes. This is correct. If the body of the function doesn't
need braces, you don't *have* to put them in. (They never
hurt, but.) E.g.
foo <- function(x) x^2
works ``just as well as'' foo <- function(x){x^2}
cheers,
Rolf
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
______________________________________________
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.