Right now I'm working on a project involving validating Stan's ADVI method. This is a relatively junior question:
When I call the method
vb_result=vb(stanmodel, data, seed, ..), the returned vb_result is a S4 class object in R. It contains the simulated values of each parameter from the ADVI result. Is there a way to easily extract the mean of these simulated values? In other words, how may I extract the 'mean' column of the result stored in vb_result on each parameter?