BASiCS_diagHist {BASiCS} | R Documentation |
Plot a histogram of effective sample size or Geweke's diagnostic z-statistic. See effectiveSize and geweke.diag for more details.
BASiCS_diagHist(object, Param = NULL, na.rm = TRUE)
object |
an object of class |
Param |
Optional name of a chain parameter to restrict the histogram;
if not supplied, all parameters will be assessed.
Possible values: |
na.rm |
Logical value indicating whether NA values should be removed before calculating effective sample size. |
A ggplot object.
Alan O'Callaghan a.b.ocallaghan@sms.ed.ac.uk
# Built-in example chain data(ChainSC) # See effective sample size distribution across all parameters BASiCS_diagHist(ChainSC) # For mu only BASiCS_diagHist(ChainSC, Param = "mu")