Thanks.
On Tue, Mar 26, 2013 at 4:45 AM, Simon Wood s.w...@bath.ac.uk 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
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
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
3 matches
Mail list logo