Learn R Programming

LearnBayes (version 2.15.2)

prior.two.parameters: Construct discrete uniform prior for two parameters

Description

Constructs a discrete uniform prior distribution for two parameters

Usage

prior.two.parameters(parameter1, parameter2)

Value

matrix of uniform probabilities where the rows and columns are labelled with the parameter values

Arguments

parameter1

vector of values of first parameter

parameter2

vector of values of second parameter

Author

Jim Albert

Examples

Run this code
prior.two.parameters(c(1,2,3,4),c(2,4,7))

Run the code above in your browser using DataLab