stan_get convenience function