Assume we have a function like:
foo <- function(x, y)
how is it possible to define a binary indexing operator, denoted by $, so that
x$y
functions the same as
foo(x, y)
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
