hmodelfile: Generate historical model BUGS file

Description Usage Arguments Value Examples

Description

hmodelfile returns historical model BUGS file

Usage

1
hmodelfile(ntrt, family, myhfile)

Arguments

ntrt

number of arms.

family

outcome distribution.

myhfile

the historical model BUGS file.

Value

historical model BUGS file

Examples

1
2
3
4
5
6
7
## Not run: 
hmodelfile(2,"binomial",paste(tempdir(),"\\","hmodelfile.txt",sep=""))
hmodelfile(3,"gaussian",paste(tempdir(),"\\","hmodelfile.txt",sep=""))
hmodelfile(4,"poisson",paste(tempdir(),"\\","hmodelfile.txt",sep=""))
file.show(paste(tempdir(),"\\","hmodelfile.txt",sep=""))

## End(Not run)

shanRpackage/pprincrt documentation built on May 23, 2019, 1:11 p.m.