We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to be able to do something like:
library(mgcViz) dat <- gamSim(1, n = 700, dist = "normal", scale = 2) b <- gamV(y ~ s(x0) + s(x1, x2) + s(x3), data = dat)
plot(sm(b, 2), newdata = mySpatialObject) + l_fitRaster()
Where mySpatialObject is of class "sf" or "sp", so that we could then be able to use the methods from the ggspatial package.
The basic problem is that mgcv does not understand spatial objects, and mgcViz has the same problem. Not sure how to do this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be nice to be able to do something like:
library(mgcViz)
dat <- gamSim(1, n = 700, dist = "normal", scale = 2)
b <- gamV(y ~ s(x0) + s(x1, x2) + s(x3), data = dat)
plot(sm(b, 2), newdata = mySpatialObject) + l_fitRaster()
Where mySpatialObject is of class "sf" or "sp", so that we could then be able to use
the methods from the ggspatial package.
The basic problem is that mgcv does not understand spatial objects, and mgcViz
has the same problem. Not sure how to do this.
The text was updated successfully, but these errors were encountered: