# read toy data
data(toydata)
## Not run: can take several minutes
# # perform two-sample regression
# res = gpr2sample(toydata$ctrl$x, toydata$ctrl$y, toydata$case$x, toydata$case$y, seq(0,22,0.1))
#
# # pre-computed model for toydata
# data(toygps)
# res = toygps
#
# # basic plot
# plot(res)
#
# # plot also the null model, don't plot data, means or noise
# plot(res, plotnull=TRUE, plotdata=FALSE, plotmeans=FALSE, plotnoise=FALSE)## End(Not run)
Run the code above in your browser using DataLab