Generalized additive mixed model analysis via slice sampling