Generic function to extract the mean of the latent field Y.
meanfield(obj, ...)
obj
an object
...
additional arguments
method meanfield