Re: [R] DierckxSpline fitting with different sets of y-values in one time

2009-04-11 Thread spencerg
Dear Elisabeth: I got the following error from your call to "curfit.free.knot": > splinefit<-with(DF, curfit.free.knot(Age, Connectivity, k=1, g=1, prior=NULL)) Error in xyw.coords(x, y, w) : Need at least 4 distinct x values. Only 3 distinct values found (after combining observati

Re: [R] DierckxSpline fitting with different sets of y-values in one time

2009-04-06 Thread Jonckers Elisabeth
Dear, So What I'm looking at is the effect of age on the functional connectivity in a certain brain network. I have the ages of different subjects as x-values and values representing this functional connectivity with a region of intrest. This values are always for one voxel. But I found a whole

Re: [R] DierckxSpline fitting with different sets of y-values in one time

2009-04-03 Thread spencerg
Dear Elisabeth: Have you tried it? I have not, but I suspect the answer is "no". What problem are you trying to solve? You might get more useful suggestions from this list if you provide commented, minimal, self-contained, reproducible code describing your problem and what you've

[R] DierckxSpline fitting with different sets of y-values in one time

2009-04-03 Thread Jonckers Elisabeth
Dear "R" users, I have a question about the Package DierckxSpline. I have tried to find the answer by myself but it didn't worked out. I wondered if Dierckxspline can use different sets of y values in one time to fit a line with knot. I have different sets of Y values representing the same thi