Displaying 1 result from an estimated 1 matches for "makephplot".
Did you mean:
make_plot
2013 Mar 21
1
[mgcv][gam] Odd error: Error in PredictMat(object$smooth[[k]], data) : , `by' variable must be same dimension as smooth arguments
..."year"),c(4.5,7.25,1))
b = makepred(c("phi.imp","bcph.imp","year"),c(5.5,7.25,1))
c = makepred(c("phi.imp","bcph.imp","year"),c(6.5,7.25,1))
d = makepred(c("phi.imp","bcph.imp","year"),c(7.5,7.25,1))
makepHplot(a,b,c,d,title="1st harvest, BC pH = 7.25")
where "makepHplot" is a different function that I made.
This worked for quite some time. Then I added some data to the model
and changed the specification slightly. Now I'm getting this error message:
1> a = makepred(c(&quo...