Displaying 1 result from an estimated 1 matches for "fit29".
Did you mean:
fit2
2012 Nov 28
2
Plot with residuals in mgcv
Hi,
I am using the mgcv package (version 1.7-22.) running the model works fine,
but when I want to have a plot with residuals I get an error.
fit29<-gam(IV~s(G3)+s(V3)+factor(AAR)+s(D3)+s(RUTE,bs="re"),data=subsf,gamma=1.4,method="ML")
plot(fit29,residuals=T)
Error in X[, first:last] %*% object$coefficients[first:last] :
non-conformable arguments
does some one know what this error means? the subsf matrix is 35x27....