Thanks.
On Tue, Mar 26, 2013 at 4:45 AM, Simon Wood wrote:
> For 1) see reply just sent to R help...
> "Re: [R] Use pcls in "mgcv" package to achieve constrained cubic spline"
> (I'm assuming you mean to fix the value of the smooth at a particular knot
> location - i.e. to impose a constraint l
For 1) see reply just sent to R help...
"Re: [R] Use pcls in "mgcv" package to achieve constrained cubic spline"
(I'm assuming you mean to fix the value of the smooth at a particular
knot location - i.e. to impose a constraint like f(t_0) = b).
For 2) try 'model.matrix', or 'predict.gam' with a
Hi all,
I am using GAM to model time trends in a logistic regression. Yet I would
like to extract the the fitted spline from it to add it to another model,
that cannot be fitted in GAM or GAMM.
Thus I have 2 questions:
1) How can I fit a smoother over time so that I force one knot to be at a
par
3 matches
Mail list logo