Consider:
x.lm <- function( ... ) lm( ... )
x.xyplot <- function( ... ) xyplot( ... )
x.dotplot <- function( ... ) dotplot( ... )
lm( dist ~ speed, data=cars, weight=speed )
x.lm( dist ~ speed, data=cars, weight=speed )
xyplot( variety ~ yield | site, groups=year, data=barley )
x.xyplot( variety ~ yield | site, groups=year, data=barley )
dotplot( variety ~ yield | site, groups=year, data=barley )
x.dotplot( variety ~ yield | site, groups=year, data=barley )
Out of the x.* functions only the x.xyplot function works.
The others results in a message like:
Error in eval(expr, envir, enclos) : ..2
used in an incorrect context, no ... to look in
Regards - Wolfram
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel