File: prior.two.parameters.Rd

package info (click to toggle)
r-cran-learnbayes 2.15.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,864 kB
  • sloc: sh: 15; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (4)
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
\name{prior.two.parameters}
\alias{prior.two.parameters}
\title{Construct discrete uniform prior for two parameters}
\description{
Constructs a discrete uniform prior distribution for two parameters
}
\usage{
prior.two.parameters(parameter1, parameter2)
}
\arguments{
  \item{parameter1}{vector of values of first parameter}
  \item{parameter2}{vector of values of second parameter}
}
\value{
  matrix of uniform probabilities where the rows and columns are
labelled with the parameter values
}

\author{Jim Albert}

\examples{
prior.two.parameters(c(1,2,3,4),c(2,4,7))
}

\keyword{models}