[R] Help with error on function: Error in .... attempt to apply non-function

Corrado
Tue, 15 Sep 2009 09:45:28 -0000

Dear R gurrus,

I wrote this function

http://scsys.co.uk:8002/33852?ln=on&store=on&submit=Format+it!

for a small package I am preparing.

Whenever I run the function I get the error

Error in Mspline(i = i, x = x, degree = kk, t = t) :  attempt to apply non-
function

Anyone could point me out what I am doing wrong?

kubuntu 904 64 bit, R 2.9.2

Regards
--
Corrado Topi

Global Climate Change & Biodiversity Indicators
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529 at york.ac.uk