File: newPriorOdds.Rd

package info (click to toggle)
r-cran-bayesfactor 0.9.12-4.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,512 kB
  • sloc: cpp: 1,555; sh: 16; makefile: 7
file content (31 lines) | stat: -rw-r--r-- 905 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/newPriorOdds.R
\name{newPriorOdds}
\alias{newPriorOdds}
\title{Create prior odds from a Bayes factor object}
\usage{
newPriorOdds(bf, type = "equal")
}
\arguments{
\item{bf}{A BFBayesFactor object, eg, from an analysis}

\item{type}{The type of prior odds to create (by default "equal"; see details)}
}
\value{
A (prior) BFodds object, which can then be multiplied by the
BFBayesFactor object to obtain posterior odds.
}
\description{
Create a prior odds object from a Bayes factor object
}
\details{
This function takes a Bayes factor object and, using its structure and
specified type of prior odds, will create a prior odds object.

For now, the only type is "equal", which assigns equal prior odds to all
models.
}
\author{
Richard D. Morey (\email{richarddmorey@gmail.com})
}
\keyword{misc}