[R] resampling Question

From: Achaz von Hardenberg <fauna_at_pngp.it>
Date: Thu 18 Aug 2005 - 00:25:07 EST


hi,
sorry for a possibly naive question but I am a bit of a beginner in R programming...

I wrote a function which simulates some data and performs two different kinds of analyses on it. as an output I get the statistics for the two analyses (t-values). Now I would like to have an other function which reruns my first function say a 1000 times and attaches the resulting statistics in a data.frame so that at the end it contains 1000 rows with two columns for the two statistics I calculated with my first function.

I hope I was clear enugh and would be glad to anybody who can help me out!

ciao,  

Achaz von Hardenberg



Centro Studi Fauna Alpina - Alpine Wildlife Research Centre Parco Nazionale Gran Paradiso, via della Rocca 47, 10123 Torino, Italy
e-mail: fauna@pngp.it
Tel. (office): +39.011.8606212
Tel. (mobile): +39.328.8736291

Fax: +39.011.8121305

Open access to all papers published in the Journal of Mountain Ecology: http://www.mountainecology.org

GSE-AIESG (Gruppo Stambecco Europa - Alpine Ibex European Specialist Group): http://www.gseonline.org



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Aug 18 00:35:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:50 EST