> 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@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.