Plot a Bayes factor object

1 2 3 4 5 |

`x` |
a BFBayesFactor object |

`include1` |
if |

`addDenom` |
if |

`sortbf` |
sort the Bayes factors before plotting
them? Defaults to |

`logbase` |
the base of the log Bayes factors in the plot |

`marginExpand` |
an expansion factor for the left margin, in case more space is needed for model names |

`pars` |
a list of par() settings |

`...` |
additional arguments to pass to barplot() |

This function creates a barplot of the (log) Bayes factors in a Bayes factor object. Error bars are added (though in many cases they may be too small to see) in red to show the error in estimation of the Bayes factor. If a red question mark appears next to a bar, then that Bayes factor has no error estimate available.

Richard D. Morey (richarddmorey@gmail.com)

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.