[R] create vector objects by recurrence equation function

rl at openmailbox.org rl at openmailbox.org
Mon Oct 20 12:53:21 CEST 2014


Subscribers,

A spreadsheet contains (what appears to a low aptitude mathematician!) a 
recurrence equation:

	cellb1=2	cellc1=0.1	celld1=5
cella2=1/(k1*cellb1)	cellb2=cellb1+cellc1+celld1	cellc2=cella2*cellb2	celld2=cellb2*k2

where k are constants.

Could someone please direct to a relevant function name in the manual, 
to create a vector (e.g. length 10) for subsequent values that would be 
in equivalent spreadsheet cells cellc3, celld3, cellc4, celld4, etc.?



More information about the R-help mailing list