?dump2dir and ?setoutput. This
function computes the Monte Carlo Average of a function
where data from a run of lgcpPredict has been
dumped to disk.## S3 method for class 'lgcpPredict':
expectation(obj, fun,
maxit = NULL, ...)lgcpPredict).