I'm running the following model to check for non-linearity
zelig(month~s(diag),data=kp2,model="normal.gam")->so.g
I'd like to simulate the month values for the diag value between 40 and 60. S
ubsequently I do:
df2<-setx(so.g,diag=14:60)
dfsim2<-sim(so.g,df2)
This rewards me with:
Error in coef %*% t(x) : non-conformable arguments
Any ideas?
/M
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/