Open cardiomoon opened 4 years ago
When try to plot factor-smooths, vis.gam() function results in an error.
model4c <- gam(hw.mpg ~ s(weight, fuel, bs = "fs"),data = mpg, method = "REML") vis.gam(model4c, theta=125)
Error in persp.default(m1, m2, z, col = col, zlim = c(min.z, max.z), xlab = view[1], : increasing 'x' and 'y' values expected
When try to plot factor-smooths, vis.gam() function results in an error.
Error in persp.default(m1, m2, z, col = col, zlim = c(min.z, max.z), xlab = view[1], : increasing 'x' and 'y' values expected