[R] resampling Question

Achaz von Hardenberg fauna at pngp.it
Wed Aug 17 16:25:07 CEST 2005


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




More information about the R-help mailing list