[Rd] suggestion for sweep help page

From: Claudia Beleites <cbeleites_at_units.it>
Date: Fri, 23 Jul 2010 15:18:15 +0200


Dear all,

I stumbled over the fact that sweep in fact calls FUN with appropriate arrays. I used to think of it as apply-like to call a function with n-dimensional and n-1-dimensional arguments.

I suggest to put a sentence like:

sweep appropriately repeats STATS, and calls FUN with two arrays of the same size.

into the help page to clarify what input FUN should expect.

Claudia

-- 
Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste

phone: +39 0 40 5 58-37 68
email: cbeleites_at_units.it

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 23 Jul 2010 - 13:33:05 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 Sun 25 Jul 2010 - 09:50:18 GMT.

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

list of date sections of archive