search for: resultlist21

Displaying 1 result from an estimated 1 matches for "resultlist21".

Did you mean: resultlist
2009 Sep 18
1
lapply - value changes as parameters to function?
...ist5 = DoAvgCalcs(IndexData, Lookback=5, SampleSize=TestSamples , Iterations=TestIterations ) ResultList8 = DoAvgCalcs(IndexData, Lookback=8, SampleSize=TestSamples , Iterations=TestIterations ) ResultList13 = DoAvgCalcs(IndexData, Lookback=13, SampleSize=TestSamples , Iterations=TestIterations ) ResultList21 = DoAvgCalcs(IndexData, Lookback=21, SampleSize=TestSamples , Iterations=TestIterations ) The function returns a list of numbers which I use for processing later. I'd like to run this on a longer list (100's of values for Lookback) so my thought was to try lapply but so far I cannot get th...