Since you don't provide lambda, rh or qext it is impossible to reproduce what you are seeing. Also note that in this mailing list HTML formatted emails are not passed along.
On Tue, Dec 25, 2018 at 4:13 AM M P <mzp3...@gmail.com> wrote: > Hello, > I used commands below to obtain a surface, can plot it and all looks as > expected. > How do I evaluate values at new point. I tried as below but that produces > errors. > Thanks for suggestions/help. > > x <- log(lambda) > y <- rh > z <- qext[,,2] > > grid.l <- list(abcissa=x,ordinate=y) > xg <- make.surface.grid(grid.l) > out.p <- as.surface(xg,z) > plot.surface(out.p,type="p") > > tried: > grid_new.l <- list(abcissa=c(-15.0,-10.),ordinate=y) > xg_new <- make.surface.grid(grid_new.l) > > out_new.p <- predict.surface(out.p,xg_new) > > results in this prompt: > predict.surface is now the function predictSurface> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.