Re: [R] reading information

From: Manoel Santos <manoelsantos666_at_gmail.com>
Date: Sat, 26 Apr 2008 21:10:20 -0300

> p<-function(x){

+  for(i in 1:teste2[k]+1){
+  p2=c+teste2[3+i]*x^(i-1)
+ c=p2}
+ return(c)}

> p3<-p(x)

if i make this i can use a p(x) calling a function in anohter function? no , right?

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 27 Apr 2008 - 00:12:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Apr 2008 - 17:30:32 GMT.

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

list of date sections of archive