[R] sapply() and Monte Carlo

A.J. Rossini rossini at blindglobe.net
Wed Jun 26 14:47:48 CEST 2002

>>>>> "robin" == Robin Hankin <r.hankin at auckland.ac.nz> writes:

    robin> This is *soooo* much better than having a loop!  Cheers everyone!
    robin> Anyone got any other interesting uses of sapply()?  Would anyone on
    robin> the List be interested in a collection specifically of neat R
    robin> oneliners?

When they are amusing, I forward them into a Wiki that I keep for brain


I need to refactor this into appropriate sections (and occassional,
add a small bit of markup, and occassionally remove them for better
versions), but it's one place to add them.

(there's a place to "add comments" at the bottom).

I'm sure that there is a better place (perhaps someone could organize
a Tips and Tricks FAQ?)


A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my tuesday/wednesday/friday locations are completely unpredictable.)

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list