Hi Assaf, I ran the following code in R in order to get a smooth function. > IRfmonfd <- with(DFt1, smooth.monotone(term,DFt1[,day], gr.fdPar))
However, I get an error notice. Do you have rough idea about what's going on? Error in eval(substitute(expr), data, enclos = parent.frame()) : numeric 'envir' arg not of length one Thanks in advance. Hao -- Hao Li [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.