Before work inside the library funcy (especially the function funcit), I loaded the following packages: flexclust, fda, wavethresh, kernlab, modeltools, car, carData, fields, calibrate, sm, MASS.
At the end I loaded the package funcy.
I try to run the example (find inside the help):
set.seed(2804)
ds<-samplesFuncy(obsNr=50,k=4,timeNr=8,reg=TRUE)
res<-funcit(data=data(ds),clusters=Cluster(ds),methods=c(1,2,3),seed=2404,k=4)
After the last script, appear this error message: "Error in command 'create.bspline.irregular(c(time[1], time[m]), nbasis = nbasis, ': failed to find function 'create.bspline.irregular' ". I check this function and it is inside the fda package (and it was installed).
I do not undesratnd were is the mistake. I try the other examples and all give me the same error.