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
ve is if anyone knows how I can compare two gam models
that includes "re" terms? As far as I understand an anova is not the best
way when I have "re" terms.
Best regards
Silje Skår
[[alternative HTML version deleted]]
__
R-h
I have a question regarding NA in randomForest (in R). I have a dataset
which include both numerical and non-numerical variables, and the data
includes some NA. I tried to use na.roughfix but then i get an error
message "na.roughfix only works for numeric or factor". I also tried
rfImpute but this
hi,
I have a question regarding cp values in rpart(). When I use plotcp() I get
a figure with cp values on the x-axsis, but then I use printcp() the cp
values in that list are different from the values in the figure by
plotcp(). Does someone know why?
Silje
[[alternative HTML version del
hi,
I have a question regarding cp values in rpart(). When I use plotcp() I get
a figure with cp values on the x-axsis, but then I use printcp() the cp
values in that list are different from the values in the figure by
plotcp(). Does someone know why?
Silje
[[alternative HTML version del
5 matches
Mail list logo