On Tue, Mar 9, 2010 at 9:06 PM, anan1986 <ayc_...@hotmail.com> wrote: > > I tried! but my solution is not correc! > -- > View this message in context: > http://n4.nabble.com/Help-I-need-to-use-R-to-calculate-a-recursive-function-tp1586189p1586590.html > Sent from the R help mailing list archive at Nabble.com.
Then show us your attempt! At least then we might see how much you know. It's possible you've made one small misunderstanding, like thinking array indexes start at X[0] or something. But we aren't going to do all your homework for you. ______________________________________________ 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.