R/points.gp.R

"points.gp" <-
function(x,...){
  # add points for one-dimensional gp
  if(x$d!=1){
    stop(" points function only works for one-dimensional processes")
  }
  points(getgrid(x),predict(x),...)
}

Try the spectralGP package in your browser

Any scripts or data that you put into this service are public.

spectralGP documentation built on May 2, 2019, 2:40 a.m.