Learn R Programming

BayesS5 (version 1.41)

Uniform: Uniform model prior

Description

A uniform model prior that assigns the same prior mass on each model.

Usage

Uniform(ind,p)

Arguments

ind

the index set of variables in a model

p

the total number of covariates

Examples

Run this code
# NOT RUN {
ind = 1:3 
m = Uniform(ind,p)
print(m)
# }

Run the code above in your browser using DataLab