[R] Construct a data.frame in a FOR-loop

From: Serguei Kaniovski <kaniovsk_at_wifo.ac.at>
Date: Mon 05 Dec 2005 - 01:54:17 EST

Say I have a FOR-loop for computing powers (just a trivial example)

for(i in 1:5)



How can I create a data.frame and a 3D plot of (i,x(i),y(i)), i.e. for each iteration

Serguei Kaniovski


Österreichisches Institut für Wirtschaftsforschung (WIFO)

Name: Serguei Kaniovski                 Postadresse: Postfach  91
Tel.: +43-1-7982601-231                 A-1103  Wien
Fax : +43-1-7989386                     Standort: Arsenal Objekt 20 

Mail: Serguei.Kaniovski@wifo.ac.at      A-1030  Wien


R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Dec 05 02:23:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:28 EST