From: Talbot Katz <topkatz_at_msn.com>

Date: Wed, 26 Dec 2007 16:42:46 -0500

R-help_at_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. Received on Wed 26 Dec 2007 - 21:50:15 GMT

Date: Wed, 26 Dec 2007 16:42:46 -0500

Hi.

v <- ifelse ( is.null(x), f2( , y2,..., yn), f2( x, y2,..., yn) )

y0 <- ifelse ( is.null(x), default(y1), x )

where default(y1) is the default value of the y1 argument of f2. Then, inside the loop I'd have

R-help_at_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. Received on Wed 26 Dec 2007 - 21:50:15 GMT

Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.

Archive generated by hypermail 2.2.0, at Wed 26 Dec 2007 - 23:30:20 GMT.

*
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help.
Please read the posting
guide before posting to the list.
*