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

for(i in 1:5)
{
        x<-i^2
        y<-i^3
}

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

Thanks,
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: [EMAIL PROTECTED]      A-1030  Wien

http://www.wifo.ac.at/

______________________________________________
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

Reply via email to