Hi
I am trying to plot the following gam with termplot but keep getting the
error message:
Error in order(xx) : unimplemented type 'list' in 'orderVector1'
Is there anyway I can rectify this to get my parametric coefficients
plotted?
Thanks
Will
Family: binomial
Link function: logit
Formula:
fgha$pa ~ s(fgha$wspd) + fgha$depth + fgha$slha + fgha$hooks +
wspd:hooks + wspd:hooks:depth
Parametric coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -2.188e+00 4.331e-01 -5.051 4.39e-07 ***
fgha$depth 1.878e-04 5.275e-05 3.559 0.000372 ***
fgha$slha -1.968e-02 7.899e-03 -2.492 0.012698 *
fgha$hooks -3.155e-06 1.383e-06 -2.282 0.022500 *
wspd:hooks 1.351e-06 2.650e-07 5.099 3.41e-07 ***
wspd:hooks:depth -1.959e-10 4.271e-11 -4.586 4.52e-06 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05
'.' 0.1 ' ' 1
Approximate significance of smooth terms:
edf Ref.df Chi.sq p-value
s(fgha$wspd) 8.732 9.232 23.87 0.00518 **
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05
'.' 0.1 ' ' 1
R-sq.(adj) = 0.0991 Deviance explained = 8.85%
UBRE score = 0.18451 Scale est. = 1 n = 1167
William Vincent
07979745433
[[alternative HTML version deleted]]