我已经安装了一个COZIGAM
模型,它类似于 GAM 模型,但用于零膨胀数据。
我的模型是:
library(COZIGAM)
t5.co<-cozigam(z1~s(y1, bs="cr")+s(lon1,lat1,sst1)+s(sst1,bs="cr"),
conv.crit.out=1e-3, family=poisson, data=data1)
如何s(lon1,lat1,sst1)
用 3d 图表示第二条样条 ( )?我试过这个:
plot(t5.co, select=2, plot.2d="persp")
但它不起作用。
谢谢!!