[Rd] suggestion for sweep help page

Claudia Beleites cbeleites at units.it
Fri Jul 23 15:18:15 CEST 2010

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 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

More information about the R-devel mailing list