Probability calculation in stan

Hi,

Is there an elegant way to calculate the posterior probabilities for parameters theta? I have an estimate of join posterior distribution of theta from cmdstan. theta is a vector.

Thanks for any suggestions.

L