mgr(Y,gen,it=1000,bi=250,th=3,df=5,R2=0.5,pi=0,verb=TRUE)
NA
is allowed.# Data
data(tpod)
Y = cbind(rnorm(196,y,.1),rnorm(196,y,.2))
# BRR
test1 = mgr(Y,gen,it=250,bi=50)
# BayesC
test2 = mgr(Y,gen,it=250,bi=50,pi=0.8)
Run the code above in your browser using DataLab