Learn R Programming

nauf (version 1.1.0)

as.shinystan,nauf.pmm.list-method: Create a shinystan object for posterior marginal means from nauf models.

Description

Joins the samples elements from the nauf.pmm.stan objects in a nauf.pmm.list, adds the log-posterior to them, and passes the resulting array to the array method for as.shinystan.

Usage

# S4 method for nauf.pmm.list
as.shinystan(X, ...)

Arguments

...

Not used.

Value

A shinystan object based on the posterior marginal means (and possibly pairwise comparisons) in X. This allows the results to be viewed in the shinystan GUI as if they had been included in the generated quantities block of the model.

See Also

launch_shinystan