[R] how to put the results of loop into a dataframe

From: zhijie zhang <epistat_at_gmail.com>
Date: Tue 20 Jun 2006 - 11:09:16 EST


Dear friends,
 suppose i want to do the following caulation for 100 times, how to put the results of x , y and z into the same dataframe/dataset?

x<-runif(1)
y<-x+1
z<-x+y

thanks in advance!

-- 
Kind Regards,
Zhi Jie,Zhang ,PHD
Department of Epidemiology
School of Public Health
Fudan University
Tel:86-21-54237149

	[[alternative HTML version deleted]]

______________________________________________
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 Tue Jun 20 11:15:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 20 Jun 2006 - 20:11:09 EST.

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