Re: [R] Question on Simple Repeated Loops

2013-06-12 Thread Berend Hasselman
On 12-06-2013, at 04:53, Abdul Rahman bin Kassim (Dr.) wrote: > > Dear R-User, > > Appreciate any helps. It looks simple, but I don't have a clue. > > Given that I have a dataframe of tree population with three variables: > > sp=species , > d0=initial_size > grow=growth increment from initi

[R] Question on Simple Repeated Loops

2013-06-11 Thread Abdul Rahman bin Kassim (Dr.)
Dear R-User, Appreciate any helps. It looks simple, but I don't have a clue. Given that I have a dataframe of tree population with three variables: sp=species , d0=initial_size grow=growth increment from initial size per year How can I calculate the future growth increment of each tree for th