tracePlot {LatentBMA}R Documentation

Traceplots for Selected Parameters

Description

tracePlot produces traceplots for selected parameters, extracted from ULLGM_BMA results.

Usage

tracePlot(x, parameter = "beta", index = 1)

Arguments

x

The output object of ULLGM_BMA.

parameter

Specifies which parameter should be considered for the traceplot. Options are "beta" for coefficients, "alpha" for the intercept (the default), "modelsize" for model size, and "sigma2" for the error variance.

index

If parameter = "beta", specifies which coefficient should be shown. Defaults to 1, corresponding to the covariate in the first column of X.

Value

Returns a 'ggplot2::ggplot' object.

Author(s)

Gregor Zens


[Package LatentBMA version 0.1.1 Index]