make a uniform, random, or user-specified grid over some columns of a data.frame, and combine it with a grid of points to integrate over.
Useful links