bayfacfig: Bayes Factors Plot

Description Usage Arguments Author(s) Examples

View source: R/bayfacfig.R

Description

bayfacfig plot the Bayes Factors to visualy display the selected and the overall best model. It requires the packages Hmisc and graphics.

Usage

1
bayfacfig(indnr, modelnr, BF, markmod)

Arguments

indnr

an integer number indicating number of indicators, to be included in the modeling procedure

modelnr

number of models for which Bayes factors were obtained, and are to be compared now in the plot

BF

double numbers giving the Bayes factors for the models, to be compared, stored in a vector.

markmod

the number of the model (index of the Bayes factor in the vector), which is the overall best.

Author(s)

Viktoria Spaiser: viktoria.sp@web.de

Examples

1
2
3
## Bayes Factor plot for five models with two indicators to be compared in the 
## bayesian fitting, with forth model being highlighted as the overall best model 
bayfacfig(2, 5, c(-5.4534, -5.3955, -5.235, -4.99948, -5.321), 4)

bdynsys documentation built on May 2, 2019, 9:42 a.m.

Related to bayfacfig in bdynsys...