[R] Applying function to lots of separate data sets

Laura Quinn laura at env.leeds.ac.uk
Mon Sep 6 02:14:40 CEST 2004

I have a total mental block and can't find my way around this seemingly
simple problem:

I have created a function such that:


I am wanting to perform this calculation over a large number of datasets,
but am having real difficulty calling and assigning - i think the problem
les in the fact that I need to paste for call and assign.

this is my best attempt so far..I can't seem to find a way around this...

for(i in 1:50)

can someone please point out where i am going wrong?

Thanks in advance..

Laura Quinn
Institute of Atmospheric Science
School of the Environment
University of Leeds

tel: +44 113 343 1596
fax: +44 113 343 6716
mail: laura at env.leeds.ac.uk

More information about the R-help mailing list